Vulnerability · Published May 27, 2026 · Assigned by GitHub_M

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

Medium 6.9

In plain English

A medium-severity security flaw in botan from randombit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.3%top 74.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13botan33.12.0+dfsg-2~deb13u1DEBIAN-CVE-2026-44378
Debian:14botan33.12.0+dfsg-2DEBIAN-CVE-2026-44378
Ubuntu:25.10botan3no fix listedUBUNTU-CVE-2026-44378
Ubuntu:26.04:LTSbotan3no fix listedUBUNTU-CVE-2026-44378
Ubuntu:26.10botan3no fix listedUBUNTU-CVE-2026-44378

Affected products (as reported)

VendorProductVersions
randombit botan < 3.12.0

Weakness: CWE-407 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

References