CVE-2026-44378 PUBLISHED

Botan: Quadratic complexity decoding BER indefinite length encodings

Assigner: GitHub_M
Reserved: 05.05.2026 Published: 27.05.2026 Updated: 27.05.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor randombit
Product botan
Versions
  • Version < 3.12.0 is affected

References

Problem Types

  • CWE-407: Inefficient Algorithmic Complexity CWE