CVE-2023-40012
published medium CVSS 3.1 · 5.9uthenticode EKU validation bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| trailofbits | — | uthenticode< 2.0.0 | Affected | Not stated | GitHub_M |
Description
uthenticode is a small cross-platform library for partially verifying Authenticode digital signatures. Versions of uthenticode prior to the 2.x series did not check Extended Key Usages in certificates, in violation of the Authenticode X.509 certificate profile. As a result, a malicious user could produce a "signed" PE file that uthenticode would verify and consider valid using an X.509 certificate that isn't entitled to produce code signatures (e.g., a SSL certificate). By design, uthenticode does not perform full-chain validation. However, the absence of EKU validation was an unintended oversight. The 2.0.0 release series includes EKU checks. There are no workarounds to this vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| trailofbits | uthenticode | < 2.0.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-325 CWE-325: Missing Cryptographic Step
- CWE-347 CWE-347: Improper Verification of Cryptographic Signature
References
3Provider assertions
3GitHub_M · cna
uthenticode EKU validation bypass
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- eb56f1eb753dd216f7f3653f0785d6629c4bcb9923898626455765bc7f9104ef
- Ingested
- 23 Sep 2026, 08:11:15 UTC
- Source record
- Official CVE record