
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-70888 is a privilege escalation vulnerability in mtrojnar osslsigncode (versions 2.10 and earlier) stemming from improper X.509 Key Usage validation in the osslsigncode.c component. The flaw was discovered by researchers Hanqing Zhao and Zi-Quan You (a research group studying code-signing certificate compliance) and reported on December 15, 2025, with a fix merged on December 31, 2025, and public disclosure on March 25, 2026. It carries a CVSS v3.1 base score of 9.8 (Critical), reflecting network-exploitable, unauthenticated attack conditions (Red Hat Advisory, Red Hat Bugzilla).
The root cause is insufficient enforcement of X.509 Key Usage constraints during code-signing certificate verification, classified as CWE-266 (Incorrect Privilege Assignment) and CWE-269 (Improper Privilege Management). Specifically, osslsigncode did not verify the presence of the Key Usage extension in signer certificates, nor did it require the extension to be marked as critical — meaning certificates not intended for code signing (e.g., issued for identity or authentication purposes) could pass verification without triggering a failure. This allows an attacker to present a certificate lacking the digitalSignature Key Usage bit and still have it accepted as a valid code-signing certificate. The fix, implemented in PR #477, adds explicit keyUsage digitalSignature validation for signer certificates (osslsigncode Issue #475, osslsigncode PR #477).
Successful exploitation allows a remote, unauthenticated attacker to escalate privileges by abusing the certificate validation weakness, potentially achieving complete system compromise with high impact to confidentiality, integrity, and availability. In practice, an attacker could use a certificate not authorized for code signing to bypass signature verification checks enforced by osslsigncode, enabling the signing or acceptance of malicious binaries as if they were legitimately signed. This could facilitate supply chain attacks, malware distribution, or unauthorized code execution in environments that rely on osslsigncode for code-signing validation (Red Hat Advisory, osslsigncode Issue #475).
No public proof-of-concept exploit code has been identified, and there is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.048%, indicating a low current probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Detection plugins are available via Nessus (plugin IDs 304004 and 305838) (Feedly Intelligence, Tenable Nessus).
digitalSignature bit and/or is not marked as critical — such as a certificate issued for TLS authentication or identity purposes.digitalSignature set; absence of Key Usage-related warnings in verification output for signed binaries.digitalSignature.The fix was merged into the osslsigncode master branch on December 31, 2025 (PR #477), adding explicit keyUsage digitalSignature validation for signer certificates. Users should update osslsigncode to a version beyond 2.10 that includes this fix. As a workaround for systems that cannot be immediately patched, implement network-level access controls to restrict who can submit binaries for signing or verification, and manually audit certificate chains used in code-signing workflows to ensure they include the digitalSignature Key Usage bit marked as critical. OpenSUSE has issued security announcements for affected packages (osslsigncode PR #477, Red Hat Bugzilla, OpenSUSE Advisory).
The vulnerability was originally reported by academic researchers Hanqing Zhao and Zi-Quan You as part of an empirical study on code-signing certificate compliance, filed simultaneously against both osslsigncode and the Python signify library. Red Hat tracked the issue with urgent priority in its Bugzilla system, and OpenSUSE issued security announcements for affected packages. The osslsigncode maintainer responded promptly, merging the fix within two weeks of the report (osslsigncode Issue #475, Red Hat Bugzilla, OpenSUSE Advisory).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."