CVE-2024-39312: Botan · X.509 certificates can identify elliptic curves using either an object identifier or using
Affects botanSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 2.19.1+dfsg-2ubuntu1+esm1 : update botan when convenient.
Data as of 24 Nov 2026, 19:27 UTC
- Patch
- Available – fixed in 2.19.1+dfsg-2ubuntu1+esm1, 2.19.3+dfsg-1ubuntu2+esm1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu botan to 2.19.1+dfsg-2ubuntu1+esm1 (package) or 2.19.3+dfsg-1ubuntu2+esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.