← Vulnerability feed

Vulnerability record · CVE-2024-50383 · published 23 October 2024

CVE-2024-50383: Botan project botan observable discrepancy vulnerability

Botan Project · Botan

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

5.9 CVSS 3.1 Medium EPSS 0.55% · top 56.1% CWE-203 · Observable discrepancy
5.9CVSS 3.1 base score
0.55%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-50383 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-24115Botan project botan vulnerabilityIn Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, base58, base64, and hex).EPSS 2.0%9.8CVE-2018-9127Botan project botan improper certificate validation vulnerabilityBotan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as valid for hostnames when, unde…EPSS 0.93%9.8CVE-2017-2801Botan project botan out-of-bounds read vulnerabilityA programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string comparisons which could lead to certif…EPSS 1.3%9.8CVE-2015-7826Botan project botan improper certificate validation vulnerabilitybotan 1.11.x before 1.11.22 improperly handles wildcard matching against hostnames, which might allow remote attackers to have unspecified impact via…EPSS 1.1%9.8CVE-2016-6878Botan project botan improper input validation vulnerabilityThe Curve25519 code in botan before 1.11.31, on systems without a native 128-bit integer type, might allow attackers to have unspecified impact via v…EPSS 1.2%9.8CVE-2016-9132Botan project botan integer overflow vulnerabilityIn Botan 1.8.0 through 1.11.33, when decoding BER data an integer overflow could occur, which would cause an incorrect length field to be computed. S…EPSS 2.0%9.8CVE-2016-2196Botan project botan memory buffer overflow vulnerabilityHeap-based buffer overflow in the P-521 reduction function in Botan 1.11.x before 1.11.27 allows remote attackers to cause a denial of service (memor…EPSS 5.3%9.8CVE-2016-2195Botan project botan memory buffer overflow vulnerabilityInteger overflow in the PointGFp constructor in Botan before 1.10.11 and 1.11.x before 1.11.27 allows remote attackers to overwrite memory and possib…EPSS 6.7%

Source: NIST National Vulnerability Database (record CVE-2024-50383), CISA KEV, FIRST EPSS (scores of 2026-09-30). This page is refreshed as NVD updates the record.