CVE-2026-44378
JSON

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 packageVersionsReported by
randombit botan< 3.12.0CVE List
botan_project botanbefore 3.12.0NVD

All scores

GitHub_M6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-407

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

SourceRecordLicence
CVE ListCVE-2026-44378 changed 2026-05-27CVE Terms of Use
NVDCVE-2026-44378 changed 2026-10-26Public domain