p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de botan

Vulnérabilités publiées pour botan au cours des 30 derniers jours : 2. Présentes dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 21

  1. CVE-2026-104267

    Moyenne · CVSS 4.1EPSS 0,14%Aucun correctif publié

    Botan: scrypt V-buffer heap overflow on 32-bit from constructor-accepted parameters

    Botan is a C++ cryptography library. From 2.7.0 until 3.13.0, Botan's Scrypt implementation on 32-bit platforms computes required memory with unchecked multiplication, allowing attacker-controlled Scrypt parameters to wrap the allocation size and create a buffer smaller than the algorithm subsequently writes. The issue affects systems that enable Scrypt and accept arbitrary parameters from a hostile source, including applications that decrypt attacker-supplied encrypted private keys. A triggering parameter set can cause approximately four gigabytes of Scrypt output to be written past the allocated heap buffer, immediately crashing the process

    Publication Mise à jour
  2. CVE-2026-48057

    Faible · CVSS 2.1EPSS 0,2%Aucun correctif publié

    Botan: directoryName nameConstraint bypass via multi-AVA RDN flattening in matches_dn

    Botan is a C++ cryptography library. Prior to 3.13.0, Botan's X.509 Distinguished Name decoder flattens the Attribute-Value Assertions in each Relative Distinguished Name and loses multi-value RDN grouping before DN name-constraint enforcement. An attacker controlling a name-constrained intermediate CA can issue a certificate with a multi-value RDN whose first Common Name matches the permitted constraint and whose second Common Name is attacker-chosen, causing the constraint check to accept the flattened first value. If the certificate contains no subjectAlternativeName extension, the second Common Name can then be accepted as a hostname; Bot

    Publication Mise à jour
  3. CVE-2026-118769

    Critique · CVSS 9.2EPSS 0,36%Aucun correctif publié

    Botan: Integer overflow when reporting block size in FFI can cause memory corruption

    Botan is a C++ cryptography library. From 2.1.0 until 3.13.0, the Botan C API function botan_block_cipher_block_size converted a size_t block size to int without a bounds check. In an application that accepts external algorithm parameter strings and uses the FFI raw ECB mode, an attacker can select the variable-block-size Lion cipher so that the reported size is truncated, the caller allocates insufficient memory, and later block processing causes memory corruption. The C++ API and normally used C API modes such as CBC and CTR are unaffected. This issue is fixed in version 3.13.0.

    Publication Mise à jour
  4. CVE-2026-118768

    Moyenne · CVSS 5.9EPSS 0,08%Aucun correctif publié

    Botan: CLI utility `ocsp_check` accepts unauthenticated responses

    Botan is a C++ cryptography library. From 1.11.34 until 3.13.0, the botan ocsp_check command requested an OCSP response from a certificate's Authority Information Access URL without verifying the response signature or authorizing the signer. A malicious responder or on-path attacker could return a matching and timely GOOD response with an empty, invalid, or unauthorized signature, causing a revoked certificate to produce exit status 0 and OCSP check OK output. Only the command-line interface is affected. This issue is fixed in version 3.13.0.

    Publication Mise à jour
  5. CVE-2026-118767

    Moyenne · CVSS 4.8EPSS 0,27%Aucun correctif publié

    Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs

    Botan is a C++ cryptography library. From 1.11.22 until 3.13.0, Botan's Python binding converted Python strings containing U+0000 to const char* values without consistently rejecting the embedded NUL, causing bcrypt and check_bcrypt to process only the prefix before the NUL. Applications could validate a longer password but hash a shorter effective value, allowing application password-policy bypass; scrypt and argon2 are unaffected. This issue is fixed in version 3.13.0.

    Publication Mise à jour
  6. CVE-2026-118766

    Moyenne · CVSS 6.1EPSS 0,11%Aucun correctif publié

    Botan: Online OCSP redirects enable blind requests to internal HTTP services

    Botan is a C++ cryptography library. Prior to 3.13.0, Botan's online OCSP client allowed a single HTTP redirect while posting an OCSP request to the URI in a certificate's Authority Information Access extension. A malicious OCSP responder or an on-path attacker could redirect the client to make one blind request to an otherwise unreachable internal HTTP service. The primary impact is blind SSRF that might affect internal services with non-idempotent GET handlers, and response timing can provide a coarse internal-service oracle. This issue is fixed in version 3.13.0.

    Publication Mise à jour
  7. CVE-2026-118765

    Élevée · CVSS 7.3EPSS 0,14%Aucun correctif publié

    Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state

    Botan is a C++ cryptography library. From 3.7.0 until 3.13.0, an application that calls AutoSeeded_RNG::clear() and then calls randomize with an empty output buffer while the generator is unseeded can cause AutoSeeded_RNG to mark itself seeded without consulting the configured entropy source. On builds without BOTAN_HAS_SYSTEM_RNG, the fallback uses only a clock value and process ID, so a later non-empty request can produce output from predictable state. This issue is fixed in version 3.13.0.

    Publication Mise à jour
  8. CVE-2026-32877

    Élevée · CVSS 8.2EPSS 0,33%Aucun correctif publié

    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.

    Publication Mise à jour
  9. CVE-2026-32884

    Moyenne · CVSS 5.9EPSS 0,17%Aucun correctif publié

    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

    Publication Mise à jour
  10. CVE-2024-50383

    Moyenne · CVSS 5.9EPSS 0,55%Correctif disponible

    CVE-2024-50383

    Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent operation in lib/utils/donna128.h in donna128 (used in Chacha-Poly1305 and x25519). An addition can be skipped if a carry is not set. This was observed for GCC 11.3.0 with -O2 on MIPS, and GCC on x86-i386. (Only 32-bit processors can be affected.)

    • Mettez à jour vers 2.19.5+dfsg-3
    Publication Mise à jour
  11. CVE-2024-50382

    Moyenne · CVSS 5.9EPSS 0,55%Correctif disponible

    CVE-2024-50382

    Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cpp in GHASH in AES-GCM. There is a branch instead of an XOR with carry. This was observed for Clang in LLVM 15 on RISC-V.

    • Mettez à jour vers 2.19.5+dfsg-3
    Publication Mise à jour
  12. CVE-2024-39312

    Moyenne · CVSS 5.3EPSS 0,27%Correctif disponible

    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.

    • Mettez à jour vers 2.19.5+dfsg-1
    Publication Mise à jour
  13. CVE-2024-34702

    Moyenne · CVSS 5.3EPSS 0,84%Correctif disponible

    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

    • Mettez à jour vers 2.19.5+dfsg-1
    Publication Mise à jour
  14. CVE-2024-34703

    Élevée · CVSS 7.5EPSS 0,5%Correctif disponible

    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 explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of el

    • Mettez à jour vers 2.19.4+dfsg-1
    Publication Mise à jour
  15. CVE-2021-40529

    Moyenne · CVSS 5.9EPSS 1,53%Correctif disponible

    CVE-2021-40529

    The ElGamal implementation in Botan through 2.18.1, as used in Thunderbird and other products, allows plaintext recovery because, during interaction between two cryptographic libraries, a certain dangerous combination of the prime defined by the receiver's public key, the generator defined by the receiver's public key, and the sender's ephemeral exponents can lead to a cross-configuration attack against OpenPGP.

    • Mettez à jour vers 2.18.1+dfsg-3
    Publication Mise à jour
  16. CVE-2018-20187

    Moyenne · CVSS 5.9EPSS 1,52%Correctif disponible

    CVE-2018-20187

    A side-channel issue was discovered in Botan before 2.9.0. An attacker capable of precisely measuring the time taken for ECC key generation may be able to derive information about the high bits of the secret key, as the function to derive the public point from the secret scalar uses an unblinded Montgomery ladder whose loop iteration count depends on the bitlength of the secret. This issue affects only key generation, not ECDSA signatures or ECDH key agreement.

    • Mettez à jour vers 2.9.0-2
    Publication Mise à jour
  17. CVE-2018-12435

    Moyenne · CVSS 5.9EPSS 0,48%Correctif disponible

    CVE-2018-12435

    Botan 2.5.0 through 2.6.0 before 2.7.0 allows a memory-cache side-channel attack on ECDSA signatures, aka the Return Of the Hidden Number Problem or ROHNP, related to dsa/dsa.cpp, ec_group/ec_group.cpp, and ecdsa/ecdsa.cpp. To discover an ECDSA key, the attacker needs access to either the local machine or a different virtual machine on the same physical host.

    • Mettez à jour vers 2.6.0-3
    Publication Mise à jour
  18. CVE-2018-9860

    Élevée · CVSS 7.5EPSS 1,36%Correctif disponible

    CVE-2018-9860

    An issue was discovered in Botan 1.11.32 through 2.x before 2.6.0. An off-by-one error when processing malformed TLS-CBC ciphertext could cause the receiving side to include in the HMAC computation exactly 64K bytes of data following the record buffer, aka an over-read. The MAC comparison will subsequently fail and the connection will be closed. This could be used for denial of service. No information leak occurs.

    • Mettez à jour vers 2.4.0-6
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →