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)
Affects botanSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium · fixed in 2.19.1+dfsg-2ubuntu1+esm1 : update botan when convenient.
Data as of 24 Nov 2026, 21:14 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.19.1+dfsg-2ubuntu1+esm1, 2.19.3+dfsg-1ubuntu2+esm1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 24 Nov 2026.
What to do
Upgrade the Ubuntu botan to 2.19.1+dfsg-2ubuntu1+esm1 (package) or 2.19.3+dfsg-1ubuntu2+esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10oscarpkg:deb/ubuntu/oscar?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSoscarpkg:deb/ubuntu/oscar?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10oscarpkg:deb/ubuntu/oscar?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSoscarpkg:deb/ubuntu/oscar?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSoscarpkg:deb/ubuntu/oscar?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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
- ubuntu.com/security/CVE-2024-50383 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-50383 (opens in a new tab)
- github.com/randombit/botan/compare/3.5.0...3.6.0 (opens in a new tab)
- arxiv.org/pdf/2410.13489 (opens in a new tab)
- news.ycombinator.com/item?id=41887153 (opens in a new tab)
- ubuntu.com/security/notices/USN-7586-1 (opens in a new tab)