What’s Vulnerable › Vulnerabilities
CVE-2024-50382
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-10-23 · updated 2026-06-17
- Weakness: CWE-203
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.
Affected products
- randombit botan: before 3.6.0 — fixed in 3.6.0
How to fix
Upgrade to a fixed version: randombit botan 3.6.0. Check the vendor advisory for mitigations.
References
- https://arxiv.org/pdf/2410.13489
- https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957
- https://github.com/randombit/botan/compare/3.5.0...3.6.0
- https://news.ycombinator.com/item?id=41887153
Get alerted when CVE-2024-50382 or the next vulnerability affects your stack