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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | botan3 | 3.12.0+dfsg-2~deb13u1 | DEBIAN-CVE-2026-44378 |
| Debian:14 | botan3 | 3.12.0+dfsg-2 | DEBIAN-CVE-2026-44378 |
| Ubuntu:25.10 | botan3 | no fix listed | UBUNTU-CVE-2026-44378 |
| Ubuntu:26.04:LTS | botan3 | no fix listed | UBUNTU-CVE-2026-44378 |
| Ubuntu:26.10 | botan3 | no fix listed | UBUNTU-CVE-2026-44378 |
Affected products (as reported)
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
- https://github.com/randombit/botan/security/advisories/GHSA-7q2v-3g27-6g3j x_refsource_CONFIRM