# CVE-2024-50382: botan: Botan before 3.6.0, when certain LLVM versions are used, hascompiler-induced secret-dependent control flow in lib/uti...

CVE-2024-50382 is fixed in 4 products on 1 platform, first by botan 2.19.1+dfsg-2ubuntu1+esm1, released October 23, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-50382
- Priority: Routine
- CVSS: 5.9 (Medium)
- EPSS: 0.0055
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 23, 2024

## Description

Botan before 3.6.0, when certain LLVM versions are used, hascompiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cppin GHASH in AES-GCM. There is a branch instead of an XOR with carry. Thiswas observed for Clang in LLVM 15 on RISC-V.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | Botan opensuse-leap 15.6 | 2.19.5-bp156.3.6.1 | [OPENSUSE-SU-2024:0343-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2024-0343-1.md) | Oct 30, 2024 |
| Linux | botan Debian 12.15 (bookworm) | 2.19.3+dfsg-1+deb12u1 | [DEBIAN-CVE-2024-50382](https://patchblox.com/security/data/fix/linux/debian-cve-2024-50382.md) | Oct 23, 2024 |
| Linux | botan Debian 13.5 (trixie) | 2.19.5+dfsg-3 | [DEBIAN-CVE-2024-50382](https://patchblox.com/security/data/fix/linux/debian-cve-2024-50382.md) | Oct 23, 2024 |
| Linux | botan Ubuntu 22.04.1 LTS (jammy) | 2.19.1+dfsg-2ubuntu1+esm1 | [botan 2.19.1+dfsg-2ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-botan-2.19.1-dfsg-2ubuntu1-esm1.md) | Oct 23, 2024 |
| Linux | botan Ubuntu 24.04.5 LTS (noble) | 2.19.3+dfsg-1ubuntu2+esm1 | [botan 2.19.3+dfsg-1ubuntu2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-botan-2.19.3-dfsg-1ubuntu2-esm1.md) | Oct 23, 2024 |
| Linux | botan Ubuntu 24.10 (oracular) | 2.19.3+dfsg-1ubuntu2.1 | [botan 2.19.3+dfsg-1ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-botan-2.19.3-dfsg-1ubuntu2.1.md) | Jan 16, 2026 |
| Linux | libbotan-2-19 Ubuntu 22.04.1 LTS (jammy) | 2.19.1+dfsg-2ubuntu1+esm1 | [libbotan-2-19 2.19.1+dfsg-2ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libbotan-2-19-2.19.1-dfsg-2ubuntu1-esm1.md) | Oct 23, 2024 |
| Linux | libbotan-2-19 Ubuntu 24.04.5 LTS (noble) | 2.19.3+dfsg-1ubuntu2+esm1 | [libbotan-2-19 2.19.3+dfsg-1ubuntu2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libbotan-2-19-2.19.3-dfsg-1ubuntu2-esm1.md) | Oct 23, 2024 |
| Linux | libbotan-2-19 Ubuntu 24.10 (oracular) | 2.19.3+dfsg-1ubuntu2.1 | [libbotan-2-19 2.19.3+dfsg-1ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libbotan-2-19-2.19.3-dfsg-1ubuntu2.1.md) | Jan 16, 2026 |
| Linux | python3-botan Ubuntu 22.04.1 LTS (jammy) | 2.19.1+dfsg-2ubuntu1+esm1 | [python3-botan 2.19.1+dfsg-2ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-botan-2.19.1-dfsg-2ubuntu1-esm1.md) | Oct 23, 2024 |
| Linux | python3-botan Ubuntu 24.04.5 LTS (noble) | 2.19.3+dfsg-1ubuntu2+esm1 | [python3-botan 2.19.3+dfsg-1ubuntu2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-botan-2.19.3-dfsg-1ubuntu2-esm1.md) | Oct 23, 2024 |
| Linux | python3-botan Ubuntu 24.10 (oracular) | 2.19.3+dfsg-1ubuntu2.1 | [python3-botan 2.19.3+dfsg-1ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-botan-2.19.3-dfsg-1ubuntu2.1.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
