CVE-2024-39312
mediumpriority · track · 21EPSS 0.003 · 19 %ileEURUUSEPSS · scored 2026-10-27
Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees and excluded subtrees, only the permitted subtree would be checked. If a certificate included a name which was permitted by the permitted subtree but also excluded by excluded subtree, it would be accepted. Fixed in versions 3.5.0 and 2.19.5.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://botan.randombit.net/security.htmlPatchcnnvd
- https://cxsecurity.com/cveshow/CVE-2024-39312/cnnvd
- https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86cnnvd
- https://vigilance.fr/vulnerability/Botan-spoofing-via-X-509-nameConstraint-44763cnnvd
- https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86enisa_euvd
- https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan