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.
Metrics
CVSS 3.1 5.9/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| botan_project | botan | < 3.6.0 |
References
- https://arxiv.org/pdf/2410.13489Exploit, Technical Description, Third Party Advisory
- https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957Patch
- https://github.com/randombit/botan/compare/3.5.0...3.6.0Product
- https://news.ycombinator.com/item?id=41887153Issue Tracking
Timeline
- Published
- Oct 23, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed