Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-44378 EUVD-2026-32582

Botan: Quadratic complexity decoding BER indefinite length encodings

Published May 27, 2026 · Updated May 27, 2026 · 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 products

VendorProductAffectedFixed
randombit botan < 3.12.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 botan3 3.12.0+dfsg-2 —
Debian 13 botan3 3.12.0+dfsg-2~deb13u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 botan3 No fix yet —
Ubuntu 26.04 LTS botan3 No fix yet —
Ubuntu 25.10 botan3 No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed Botan 3.13.0-1.1 openSUSE-SU-2026:11649-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 botan2 No fix yet —

Advisories 1

References