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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | botan3 | 3.12.0+dfsg-2 | — |
| Debian 13 | botan3 | 3.12.0+dfsg-2~deb13u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | botan3 | No fix yet | — |
| Ubuntu 26.04 LTS | botan3 | No fix yet | — |
| Ubuntu 25.10 | botan3 | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | Botan | 3.13.0-1.1 | openSUSE-SU-2026:11649-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | botan2 | No fix yet | — |
Advisories 1
- openSUSE-SU-2026:11649-1 Botan-3.13.0-1.1 on GA media SUSE / openSUSE Security Updates · Sep 1, 2026