Description
In Botan 1.8.0 through 1.11.33, when decoding BER data an integer overflow could occur, which would cause an incorrect length field to be computed. Some API callers may use the returned (incorrect and attacker controlled) length field in a way which later causes memory corruption or other failure.
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 7 | botan1.10 | 1.10.5-1+deb7u2 | DLA-786-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | botan1.10 | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | botan1.10 | 1.10.5-1+deb7u1ubuntu0.14.04.1+esm1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | Botan | 1.10.9-3.1 | SUSE-SU-2017:1222-1 |
| SLES 12 SP1 | Botan | 1.10.9-3.1 | SUSE-SU-2017:1222-1 |
| SLES 11 SP4 | Botan | 1.6.5-4.1 | SUSE-SU-2017:1351-1, SUSE-SU-2017:1305-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | Botan | 2.18.1-1.3 | openSUSE-SU-2024:10594-1 |
Advisories 5
- DLA-786-1 botan1.10 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:1305-1 Security update for Botan SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1222-1 Security update for Botan SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10594-1 Botan-2.18.1-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1351-1 Security update for Botan SUSE / openSUSE Security Updates · May 2, 2025
References
- FEDORA-2016-7de64a450f vendor-advisory
- https://github.com/randombit/botan/commit/987ad747db6d0d7e36f840398f3cf02e2fbfd90f
- 95879 vdb-entry
- FEDORA-2016-3b59109c48 vendor-advisory