p PatchFirst

PatchFirst · Latest vulnerabilities

botan3 vulnerabilities

Vulnerabilities published for botan3 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 7

  1. CVE-2026-34582

    High · CVSS 8.7EPSS 0.26%Fix available

    Botan has a TLS 1.3 certificate authentication bypass

    Botan is a C++ cryptography library. Prior to version 3.11.1, the TLS 1.3 implementation allowed ApplicationData records to be processed prior to the Finished message being received. A server which is attempting to enforce client authentication via certificates can by bypassed by a client which entirely omits Certificate, CertificateVerify, and the Finished message and instead sends application data records. This vulnerability is fixed in 3.11.1.

    • Update to 3.11.1-r0
    Published Updated
  2. CVE-2026-34580

    Critical · CVSS 9.3EPSS 0.44%Fix available

    Botan has a certificate authentication bypass due to trust anchor confusion

    Botan is a C++ cryptography library. In 3.11.0, the function Certificate_Store::certificate_known had a misleading name; it would return true if any certificate in the store had a DN (and subject key identifier, if set) matching that of the argument. It did not check that the cert it found and the cert it was passed were actually the same certificate. In 3.11.0 an extension of path validation logic was made which assumed that certificate_known only returned true if the certificates were in fact identical. The impact is that if an end entity certificate is presented, and its DN (and subject key identifier, if set) match that of any trusted roo

    • Update to 3.11.1-r0
    Published Updated
  3. CVE-2026-32877

    High · CVSS 8.2EPSS 0.33%Fix available

    Botan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field

    Botan is a C++ cryptography library. From version 2.3.0 to before version 3.11.0, during SM2 decryption, the code that checked the authentication code value (C3) failed to check that the encoded value was of the expected length prior to comparison. An invalid ciphertext can cause a heap over-read of up to 31 bytes, resulting in a crash or potentially other undefined behavior. This issue has been patched in version 3.11.0.

    • Update to 3.11.0-r0
    Published Updated
  4. CVE-2026-32883

    Medium · CVSS 5.9EPSS 0.17%Fix available

    Botan: Missing OCSP Response Signature Verification Allows MitM Certificate Revocation Bypass

    Botan is a C++ cryptography library. From version 3.0.0 to before version 3.11.0, during X509 path validation, OCSP responses were checked for an appropriate status code, but critically omitted verifying the signature of the OCSP response itself. This issue has been patched in version 3.11.0.

    • Update to 3.11.0-r0
    Published Updated
  5. CVE-2026-32884

    Medium · CVSS 5.9EPSS 0.17%Fix available

    Botan: Case-Insensitive CN Values Bypass DNS excludedSubtrees Name Constraints (RFC 5280 Violation)

    Botan is a C++ cryptography library. Prior to version 3.11.0, during processing of an X.509 certificate path using name constraints which restrict the set of allowable DNS names, if no subject alternative name is defined in the end-entity certificate Botan would check that the CN was allowed by the DNS name constraints, even though this check is technically not required by RFC 5280. However this check failed to account for the possibility of a mixed-case CN. Thus a certificate with CN=Sub.EVIL.COM and no subject alternative name would bypasses an excludedSubtrees constraint for evil.com because the comparison is case-sensitive. This issue has

    • Update to 3.11.0-r0
    Published Updated
  6. CVE-2024-39312

    Medium · CVSS 5.3EPSS 0.27%Fix available

    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 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.

    • Update to 3.5.0-r0
    Published Updated
  7. CVE-2024-34702

    Medium · CVSS 5.3EPSS 0.84%Fix available

    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 number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2

    • Update to 3.5.0-r0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →