CVE-2024-50382
MEDIUMBotan < 3.6.0 - Observable Discrepancy in GHASH via LLVM Compiler Optimization
Title source: llmDescription
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.
References (4)
Core 4
Core References
Exploit, Technical Description, Third Party Advisory
https://arxiv.org/pdf/2410.13489
Issue Tracking
https://news.ycombinator.com/item?id=41887153
Scores
CVSS v3
5.9
EPSS
0.0054
EPSS Percentile
41.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-203
Status
published
Products (1)
botan_project/botan
< 3.6.0
Published
Oct 23, 2024
Tracked Since
Feb 18, 2026