Description
Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cpp in GHASH in AES-GCM. There is a branch instead of an XOR with carry. This was observed for Clang in LLVM 15 on RISC-V.
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.5+dfsg-3 | — |
| Debian 12 | botan | 2.19.3+dfsg-1+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | oscar | No fix yet | — |
| Ubuntu 26.04 LTS | oscar | No fix yet | — |
| Ubuntu 25.10 | oscar | No fix yet | — |
| Ubuntu 24.04 LTS | oscar | No fix yet | — |
| Ubuntu 22.04 LTS | oscar | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | botan +1 | No fix yet | — |
| Ubuntu 18.04 LTS | botan | No fix yet | — |
| 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 |
|---|---|---|---|
| SUSE Package Hub 15 SP6 | Botan | 2.19.5-bp156.3.6.1 | openSUSE-SU-2024:0343-1 |
| SUSE Package Hub 15 SP5 | Botan | 2.19.5-bp156.3.6.1 | openSUSE-SU-2024:0343-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | Botan | 3.6.0-1.1 | openSUSE-SU-2024:14429-1 |
| openSUSE Leap 15.6 | Botan | 2.19.5-bp156.3.6.1 | openSUSE-SU-2024:0343-1 |
| openSUSE Leap 15.5 | Botan | 2.19.5-bp156.3.6.1 | openSUSE-SU-2024:0343-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | botan2 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | botan2 | No fix yet | — |
Advisories 3
- USN-7586-1 botan vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2024:0343-1 Security update for Botan SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14429-1 Botan-3.6.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026