Description
Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| randombit | botan | >= 3.0.0-alpha0, < 3.3.0, < 2.19.4 | — |
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 13 | botan | 2.19.4+dfsg-1 | — |
| Debian 12 | botan | 2.19.3+dfsg-1+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | botan | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | botan | 2.19.3+dfsg-1ubuntu2+esm1 | USN-7586-1 |
| Ubuntu Pro 22.04 LTS | botan | 2.19.1+dfsg-2ubuntu1+esm1 | USN-7586-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | MozillaThunderbird | 153.2.0-150400.13.3.1 | SUSE-SU-2026:4268-1 |
| SLES 15 SP6 | MozillaThunderbird | 115.12.2-150200.8.168.1 | SUSE-SU-2024:2415-1 |
| SLES 15 SP5 | MozillaThunderbird | 115.12.2-150200.8.168.1 | SUSE-SU-2024:2415-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP5 | Botan | 2.19.5-bp155.2.3.1 | openSUSE-SU-2024:0201-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | Botan | 2.19.5-1.1 | openSUSE-SU-2024:14188-1 |
| openSUSE Tumbleweed | MozillaThunderbird | 115.12.2-1.1 | openSUSE-SU-2024:14095-1 |
| openSUSE Leap 15.6 | MozillaThunderbird | 115.12.2-150200.8.168.1 | SUSE-SU-2024:2415-1 |
| openSUSE Leap 15.5 | Botan | 2.19.5-bp155.2.3.1 | openSUSE-SU-2024:0201-1 |
| openSUSE Leap 15.5 | MozillaThunderbird | 115.12.2-150200.8.168.1 | SUSE-SU-2024:2415-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.21 | botan | 2.19.4-r0 | — |
| Alpine v3.20 | botan | 2.19.4-r0 | — |
| Alpine v3.19 | botan | 2.19.5-r0 | — |
| Alpine v3.18 | botan | 2.19.5-r0 | — |
| Alpine v3.17 | botan | 2.19.5-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | botan2 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | botan2 | No fix yet | — |
Advisories 6
- SUSE-SU-2026:4268-1 Security update for MozillaThunderbird SUSE / openSUSE Security Updates · Sep 19, 2026
- USN-7586-1 botan vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2024:14095-1 MozillaThunderbird-115.12.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14188-1 Botan-doc-2.19.5-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:0201-1 Security update for Botan SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2415-1 Security update for MozillaThunderbird SUSE / openSUSE Security Updates · Feb 4, 2026