6.9Medium

CVE-2026-44378Botan: Quadratic complexity decoding BER indefinite length encodings

randombit botan Published: (5 months ago)

Description

Botan is a C++ cryptography library. Prior to 3.12.0, certain patterns of indefinite length encodings in BER data could cause quadratic behavior in the parser, resulting in a denial of service. Such BER encodings were accepted even in structures which are required to be encoded as DER, which prohibits indefinite length encodings. This vulnerability is fixed in 3.12.0.

Weakness (CWE): CWE-407

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
botan project botan < 3.12.0
randombit botan < 3.12.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:* < 3.12.0