Skip to content
Fencer Vulns
medium 5.9

CVE-2024-50383 json

Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent operation in lib/utils/donna128.h in donna1…

published 2024-10-23 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-44836

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 46%
public exploits
0
none known

Summary

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

Patch / fix

  • botan_project botan 3.6.0
  • botan Debian 12 2.19.3+dfsg-1+deb12u1
  • botan Debian 13 2.19.5+dfsg-3

debian advisories DEBIAN-CVE-2024-50383

  • botan Ubuntu Pro 22.04 LTS 2.19.1+dfsg-2ubuntu1+esm1
  • botan Ubuntu Pro 24.04 LTS 2.19.3+dfsg-1ubuntu2+esm1

ubuntu advisories UBUNTU-CVE-2024-50383

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • Botan Package Hub 15 SP6, Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 2.19.5-bp156.3.6.1

opensuse advisories openSUSE-SU-2024:0343-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-50383 updated

botan: compiler-induced side channel in lib/utils/donna128.h

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • arxiv.org https://arxiv.org/pdf/2410.13489 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

  • botan_project botan

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.