Security Vulnerability Report
中文
CVE-2025-70888 CVSS 9.8 CRITICAL

CVE-2025-70888

Published: 2026-03-25 20:16:22
Last Modified: 2026-04-02 17:13:19

Description

An issue in mtrojnar Osslsigncode affected at v2.10 and before allows a remote attacker to escalate privileges via the osslsigncode.c component

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:osslsigncode_project:osslsigncode:*:*:*:*:*:*:*:* - VULNERABLE
mtrojnar Osslsigncode <= 2.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ PoC for CVE-2025-70888 (Osslsigncode Privilege Escalation) This script demonstrates the vulnerability concept by calling the vulnerable component. Note: Actual exploitation requires a specifically crafted binary payload. """ import subprocess import sys def trigger_vulnerability(binary_path, malicious_file): """ Simulate the exploitation scenario where osslsigncode processes a malicious file. """ print(f"[*] Attempting to process {malicious_file} with vulnerable binary...") try: # The vulnerability is triggered in osslsigncode.c during file parsing # Using a generic command structure for demonstration result = subprocess.run( [binary_path, "sign", "-certs", "cert.pem", "-key", "key.pem", "-in", malicious_file, "-out", "out.signed"], capture_output=True, text=True, timeout=5 ) print("[+] Execution output:", result.stdout) if result.stderr: print("[-] Error output:", result.stderr) except Exception as e: print(f"[!] An exception occurred: {e}") if __name__ == "__main__": # In a real scenario, 'malicious_file' would contain the exploit payload # targeting the buffer overflow in osslsigncode.c if len(sys.argv) < 3: print("Usage: python3 poc.py <path_to_osslsigncode> <path_to_malicious_file>") sys.exit(1) binary = sys.argv[1] target_file = sys.argv[2] trigger_vulnerability(binary, target_file)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-70888", "sourceIdentifier": "[email protected]", "published": "2026-03-25T20:16:22.463", "lastModified": "2026-04-02T17:13:18.527", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue in mtrojnar Osslsigncode affected at v2.10 and before allows a remote attacker to escalate privileges via the osslsigncode.c component"}, {"lang": "es", "value": "Un problema en mtrojnar Osslsigncode afectado en v2.10 y anteriores permite a un atacante remoto escalar privilegios a través del componente osslsigncode.c"}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:osslsigncode_project:osslsigncode:*:*:*:*:*:*:*:*", "versionEndIncluding": "2.10", "matchCriteriaId": "5E010F4C-F0A1-4F48-85EA-E1C2F74708ED"}]}]}], "references": [{"url": "https://github.com/mtrojnar/osslsigncode/issues/475", "source": "[email protected]", "tags": ["Issue Tracking", "Third Party Advisory"]}, {"url": "https://github.com/mtrojnar/osslsigncode/pull/477", "source": "[email protected]", "tags": ["Issue Tracking"]}, {"url": "https://github.com/ralphje/signify/issues/60", "source": "[email protected]", "tags": ["Issue Tracking", "Third Party Advisory"]}]}}