CVE-2024-50383: botan · Observable Discrepancy
Affects botanSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium : upgrade to 3.6.0 when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
GitHubrandombit/botanpkg:github/randombit/botanOther threats | Affected
| Fixed in
|
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-50383, organizations should: 1) Upgrade Botan to version 3.6.0 or later, where the compiler-induced secret-dependent operation has been fixed. 2) If upgrading is not immediately possible, recompile Botan with a different compiler version or optimization settings that do not trigger the vulnerability, such as avoiding GCC 11.3.0 with -O2 on 32-bit architectures. 3) Conduct code audits and testing to verify constant-time execution of cryptographic primitives on affected platforms. 4) Limit exposure of vulnerable cryptographic operations by restricting network access or isolating affected systems. 6) For embedded or legacy devices, consider hardware or software mitigations that enforce constant-time operations or employ alternative cryptographic libraries not affected by this issue. 7) Implement defense-in-depth by combining cryptographic best practices with system-level protections to reduce the impact of potential key leakage.
Description
Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent operation in lib/utils/donna128.h in donna128 (used in Chacha-Poly1305 and x25519). An addition can be skipped if a carry is not set. This was observed for GCC 11.3.0 with -O2 on MIPS, and GCC on x86-i386. (Only 32-bit processors can be affected.)