Skip to main content
CVE-2024-50383VulnerabilityPublished Updated

CVE-2024-50383: botan · n/a

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 25 Oct 2026, 19:02 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 2026-10-25.

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

References

Community reviews

Loading reviews…