6.9medium
Botan: Quadratic complexity decoding BER indefinite length encodings
- Severity
- 6.9medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| randombit botan | < 3.12.0 | CVE List |
| botan_project botan | before 3.12.0 | NVD |
All scores
| GitHub_M | 6.9medium CVSS:4.0 | 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Botan es una biblioteca de criptografía C++. Antes de la versión 3.12.0, ciertos patrones de codificaciones de longitud indefinida en datos BER podrían causar un comportamiento cuadrático en el analizador, resultando en una denegación de servicio. Dichas codificaciones BER eran aceptadas incluso en estructuras que deben ser codificadas como DER, lo que prohíbe las codificaciones de longitud indefinida. Esta vulnerabilidad está corregida en la versión 3.12.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44378 changed 2026-05-27 | CVE Terms of Use |
| NVD | CVE-2026-44378 changed 2026-10-26 | Public domain |