Live threats

All CVEs / Botan Project

CVE-2024-39312Botan Project Botan

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.4%
probability of exploitation in 30 days · percentile 31
Auth required
No
Published
Jul 8, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Botan.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
botan_projectbotan< 2.19.5
botan_projectbotan≥ 3.0.0 < 3.5.0

Official sources

References

Links published by the sources. Open them with care.