CVE-2024-50382
CVE-2024-50382 is a medium-severity vulnerability in Botan Project Botan with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-203.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- EPSS exploit prediction: 1% (42nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-44835
- Weakness: CWE-203
- Affected product: Botan Project Botan
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2024-50382?
- CVE-2024-50382 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2024-50382 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-50382?
- CVE-2024-50382 affects Botan Project Botan. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-50382?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-50382 have an EU (EUVD) identifier?
- Yes. CVE-2024-50382 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-44835.
- When was CVE-2024-50382 published?
- CVE-2024-50382 was published on 2024-10-23 and last updated on 2026-06-17.
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
Affected products (1)
- cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*
More vulnerabilities in Botan Project Botan
- CVE-2021-24115 — Critical (CVSS 9.8): In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32,…
- CVE-2018-9127 — Critical (CVSS 9.8): Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as…
- CVE-2016-6878 — Critical (CVSS 9.8): The Curve25519 code in botan before 1.11.31, on systems without a native 128-bit integer type, might allow attackers to…
- CVE-2015-7826 — Critical (CVSS 9.8): botan 1.11.x before 1.11.22 improperly handles wildcard matching against hostnames, which might allow remote attackers…
- CVE-2016-9132 — Critical (CVSS 9.8): In Botan 1.8.0 through 1.11.33, when decoding BER data an integer overflow could occur, which would cause an incorrect…
- CVE-2016-2196 — Critical (CVSS 9.8): Heap-based buffer overflow in the P-521 reduction function in Botan 1.11.x before 1.11.27 allows remote attackers to…
All CVEs affecting Botan Project Botan →
Other CWE-203 (Observable Discrepancy) vulnerabilities
- CVE-2019-25337 — Critical (CVSS 9.8): OwnCloud 8.1.8 contains a username enumeration vulnerability that allows remote attackers to discover user accounts by…
- CVE-2026-23519 — Critical (CVSS 9.8): RustCrypto CMOV provides conditional move CPU intrinsics which are guaranteed on major platforms to execute in…
- CVE-2025-27667 — Critical (CVSS 9.8): Vasion Print (formerly PrinterLogic) before Virtual Appliance Host 22.0.843 Application 20.0.1923 allows Administrative…
- CVE-2024-25714 — Critical (CVSS 9.8): In Rhonabwy through 1.1.13, HMAC signature verification uses a strcmp function that is vulnerable to side-channel…
- CVE-2024-25191 — Critical (CVSS 9.8): php-jwt 1.0.0 uses strcmp (which is not constant time) to verify authentication, which makes it easier to bypass…
- CVE-2024-25190 — Critical (CVSS 9.8): l8w8jwt 2.2.1 uses memcmp (which is not constant time) to verify authentication, which makes it easier to bypass…
Browse all CWE-203 (Observable Discrepancy) vulnerabilities →