Skip to content
OpenAdvisories
High USN-7586-1 5 CVEs

botan vulnerabilities

Published Jun 23, 2025 · Updated Apr 27, 2026

Summary

It was discovered that Botan could have compiler dependent operations
induced under certain circumstances. An attacker could possibly use this
issue to cause undefined behavior. (CVE-2024-50382, CVE-2024-50383)

Bing Shi discovered that Botan did not limit the size of certain inputs
when checking primality and name constraints. An attacker could possibly
use this issue to cause a denial of service. (CVE-2024-34702,
CVE-2024-34703)

It was discovered that Botan did not correctly handle conflicting name
constraints. An attacker could possibly use this issue to bypass
authentication. (CVE-2024-39312)

Fixed packages 2

ReleasePackageFixed in
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS botan 2.19.1+dfsg-2ubuntu1+esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS botan 2.19.3+dfsg-1ubuntu2+esm1

Vulnerabilities 5

  • High 7.5

    Botan Vulnerable to Denial of Service Due to Overly Large Elliptic Curve Parameters

    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. Prior to versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using…

  • Medium 5.9

    Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/util…

  • Medium 5.9

    Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent operation in lib/utils/…

  • Medium 5.3

    Botan has a Denial of Service Due to Excessive Name Constraints

    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. Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the…

  • Medium 5.3

    Botan has an Authorization Error due to Name Constraint Decoding Bug

    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 ext…

References

  • report
    https://ubuntu.com/security/CVE-2024-34702
  • report
    https://ubuntu.com/security/CVE-2024-34703
  • report
    https://ubuntu.com/security/CVE-2024-39312
  • report
    https://ubuntu.com/security/CVE-2024-50382
  • report
    https://ubuntu.com/security/CVE-2024-50383