CVE-2024-50382

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*

History

10 Jul 2025, 19:23

Type Values Removed Values Added
CPE cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*
First Time Botan Project botan
Botan Project
References () https://arxiv.org/pdf/2410.13489 - () https://arxiv.org/pdf/2410.13489 - Exploit, Third Party Advisory, Technical Description
References () https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957 - () https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957 - Patch
References () https://github.com/randombit/botan/compare/3.5.0...3.6.0 - () https://github.com/randombit/botan/compare/3.5.0...3.6.0 - Product
References () https://news.ycombinator.com/item?id=41887153 - () https://news.ycombinator.com/item?id=41887153 - Issue Tracking

Information

Published : 2024-10-23 17:15

Updated : 2025-07-10 19:23


NVD link : CVE-2024-50382

Mitre link : CVE-2024-50382

CVE.ORG link : CVE-2024-50382


JSON object : View

Products Affected

botan_project

  • botan
CWE
CWE-203

Observable Discrepancy