Skip to main content
VulnerabilityPublished Updated

CVE-2024-50382: botan · Observable Discrepancy

Affects botanSource CVE Database V5

0

Not known to be exploited · CVSS 5.9 Medium : upgrade to 3.6.0 when convenient.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.6.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade randombit/botan to 3.6.0.

Affected software

ProductAffectedFixed in
GitHubrandombit/botanpkg:github/randombit/botanOther threatsAffected
  • <3.6.0
Fixed in
  • 3.6.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-50382, organizations should: 1) Upgrade Botan to version 3.6.0 or later, where the vulnerability is addressed. 2) Review and standardize build environments to avoid using LLVM 15 or other affected compiler versions that introduce secret-dependent branching, especially for RISC-V targets. 3) Employ compiler flags or code annotations that enforce constant-time operations and prevent compiler optimizations that introduce secret-dependent control flow. 4) Conduct side-channel analysis and testing on cryptographic implementations to detect unintended timing leaks. 5) For critical deployments, consider using alternative cryptographic libraries with verified constant-time implementations if upgrading Botan or changing compilers is not immediately feasible. 7) Implement network-level protections to limit exposure of vulnerable services to untrusted networks, reducing attack opportunities.

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.

References

Community reviews

Loading reviews…