Every CVE Search/ Get API key

CVE-2024-50383

Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent...

5.9 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.55%Up 0.5 points since Oct 24, 2024
90%50%10%1%

What each source reports

CVE List Score used 5.9

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

Record
CVE-2024-50383
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-203
Updated
2026-11-02
EUVDEUVD-2024-44836 5.9

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

Record
EUVD-2024-44836
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-m6p4-vhgw-8c9c 5.9

Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent...

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

Record
GHSA-m6p4-vhgw-8c9c
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-203
Updated
2026-11-02
NVD 5.9

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

Record
CVE-2024-50383
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-203
Updated
2026-11-02
OSV 5.9

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

Record
CVE-2024-50383
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2024-50383 5.9

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

Record
DEBIAN-CVE-2024-50383
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2024-50383 5.9

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

Record
UBUNTU-CVE-2024-50383
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVAZL-51681 No score

CVE-2024-50383 affecting package botan2 2.14.0-2

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

Record
AZL-51681
Updated
2026-11-02
OSVAZL-51701 No score

CVE-2024-50383 affecting package botan2 2.14.0-2

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

Record
AZL-51701
Updated
2026-11-05
OSVMGASA-2025-0295 No score

Updated botan2 packages fix security vulnerability

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). (CVE-2024-50383)

Record
MGASA-2025-0295
Updated
2026-11-02
OSVopenSUSE-SU-2024:0343-1 No score

Security update for Botan

This update for Botan fixes the following issues:

  • Fixed CVE-2024-50382, CVE-2024-50383 - various compiler-induced side channel in GHASH when certain LLVM/GCC versions are used to compile Botan.
Record
openSUSE-SU-2024:0343-1
Updated
2026-11-02
OSVROOT-OS-ALPINE-320-CVE-2024-50383 No score

CVE-2024-50383 in botan - Patched by Root

Root has patched CVE-2024-50383 in the botan package for Root:Alpine:3.20. Multiple fixed versions available.

Record
ROOT-OS-ALPINE-320-CVE-2024-50383
Updated
2026-11-02
OSVUSN-7586-1 No score

botan vulnerabilities

It was discovered that Botan could have compiler dependent operations induced under certain circumstances. An attacker could possibly use this issue to cause undefined behavior. (CVE-2024-50382, CVE-2024-50383)

Bing Shi discovered that Botan did not limit the size of certain inputs when checking primality and name constraints. An attacker could possibly use this issue to cause a denial of service. (CVE-2024-34702, CVE-2024-34703)

It was discovered that Botan did not correctly handle conflicting name constraints. An attacker could possibly use this issue to bypass authentication. (CVE-2024-39312)

Record
USN-7586-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
botan2
Azure Linux:2
through 2.14.0-2 None known
botan2
Azure Linux:3
through 2.14.0-2 None known
botan
Debian:12
before 2.19.3+dfsg-1+deb12u1, plus listed versions
2.19.3+dfsg-1
2.19.3+dfsg-1+deb12u1
botan
Debian:13
before 2.19.5+dfsg-3
2.19.5+dfsg-3
botan2
Mageia:9
before 2.19.5-1.1.mga9
2.19.5-1.1.mga9
botan
Root:Alpine:3.20
before 2.19.5-r00072
2.19.5-r000722.19.5-r000732.19.5-r000752.19.5-r000742.19.5-r00076
rootio-botan
Root:Alpine:3.20
before 2.19.5-r00072
2.19.5-r000722.19.5-r000732.19.5-r000752.19.5-r000742.19.5-r00076
botan
Ubuntu:18.04:LTS
All versions, plus listed versions
2.4.0-32.4.0-42.4.0-5ubuntu1
None known
botan
Ubuntu:20.04:LTS
All versions, plus listed versions
2.9.0-22.9.0-2build12.12.1-22.12.1-2build1
None known
oscar
Ubuntu:20.04:LTS
All versions, plus listed versions
1.1.0-testing-3-11.1.0-testing-3-21.1.0-testing-3-31.1.0-testing-3-3build1
None known
Show 13 moreShow less
Affected packages
PackageAffectedFixed
oscar
Ubuntu:22.04:LTS
All versions, plus listed versions
1.2.0-11.3.0-11.3.1-1
None known
botan
Ubuntu:Pro:22.04:LTS
before 2.19.1+dfsg-2ubuntu1+esm1, plus listed versions
2.17.3+dfsg-32.19.1+dfsg-2ubuntu1
2.19.1+dfsg-2ubuntu1+esm1
oscar
Ubuntu:24.04:LTS
All versions, plus listed versions
1.4.0-11.5.1-11.5.1-1build11.5.1-1build2
None known
botan
Ubuntu:Pro:24.04:LTS
before 2.19.3+dfsg-1ubuntu2+esm1, plus listed versions
2.19.3+dfsg-1ubuntu12.19.3+dfsg-1ubuntu2
2.19.3+dfsg-1ubuntu2+esm1
oscar
Ubuntu:25.10
All versions, plus listed versions
1.5.3-2
None known
oscar
Ubuntu:26.10
All versions, plus listed versions
1.5.3-2build11.5.3-4
None known
oscar
Ubuntu:26.04:LTS
All versions, plus listed versions
1.5.3-21.5.3-2build1
None known
botan
Ubuntu:Pro:22.04:LTS
From an advisory covering 5 CVEs
before 2.19.1+dfsg-2ubuntu1+esm1, plus listed versions
2.17.3+dfsg-32.19.1+dfsg-2ubuntu1
2.19.1+dfsg-2ubuntu1+esm1
botan
Ubuntu:Pro:24.04:LTS
From an advisory covering 5 CVEs
before 2.19.3+dfsg-1ubuntu2+esm1, plus listed versions
2.19.3+dfsg-1ubuntu12.19.3+dfsg-1ubuntu2
2.19.3+dfsg-1ubuntu2+esm1
Botan
SUSE:Package Hub 15 SP5
From an advisory covering 2 CVEs
before 2.19.5-bp156.3.6.1
2.19.5-bp156.3.6.1
Botan
SUSE:Package Hub 15 SP6
From an advisory covering 2 CVEs
before 2.19.5-bp156.3.6.1
2.19.5-bp156.3.6.1
Botan
openSUSE:Leap 15.5
From an advisory covering 2 CVEs
before 2.19.5-bp156.3.6.1
2.19.5-bp156.3.6.1
Botan
openSUSE:Leap 15.6
From an advisory covering 2 CVEs
before 2.19.5-bp156.3.6.1
2.19.5-bp156.3.6.1

History

History
RecordedChangedSources
affected
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-50383 is a medium vulnerability (CVSS 5.9) in Botan Project Botan, published October 23, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.55%, the 46th percentile. Fixed in botan 2.19.3+dfsg-1+deb12u1.

References

Show 18 moreShow less
MoveEnter Open