Vulnerabilities

CVE-2024-50383

Medium 5.9 CVSS 3.1

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

Description as published by the source, in English.

Key facts

Published
2024-10-23
Last modified
2026-06-17
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
0.5 % higher than 43 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Botan Project Botan < 3.6.0 Affected

Weakness type

  • CWE-203: Observable Discrepancy

    The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities