Skip to main content
CVE-2026-104267VulnerabilityPublished Updated

From 2.7.0 until 3.13.0, Botan's Scrypt implementation on 32-bit platforms computes required memory with unchecked

Affects botanSource GCVE Database

0
Compare
Authoritative record:CVE-2026-104267· Medium 4.1

Not known to be exploited · CVSS 4.1 Medium · fixed in 3.13.0 : update botan when convenient.

Data as of 18 Nov 2026, 15:20 UTC

CVSS 4.0 base score
4.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.04.1
Patch
Available – fixed in 3.13.0
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10botan3pkg:deb/ubuntu/botan3?arch=source&distro=stonkingOther threatsAffected
  • =3.10.0+dfsg-2
  • =3.11.1+dfsg-2
  • =3.12.0+dfsg-2
Fixed in–
Ubuntu 26.04 LTSbotan3pkg:deb/ubuntu/botan3?arch=source&distro=resoluteOther threatsAffected
  • =3.7.1+dfsg-2
  • =3.10.0+dfsg-2
Fixed in–
Ubuntu Pro 24.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/nobleOther threatsAffected
  • =2.19.3+dfsg-1ubuntu1
  • =2.19.3+dfsg-1ubuntu2
  • =2.19.3+dfsg-1ubuntu2+esm1
Fixed in–
Ubuntu Pro 22.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =2.17.3+dfsg-3
  • =2.19.1+dfsg-2ubuntu1
  • =2.19.1+dfsg-2ubuntu1+esm1
Fixed in–
Ubuntu 20.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=focalOther threatsAffected
  • 2.9.0-2 – 2.12.1-2build1
4 affected builds
Fixed in–
Ubuntu 18.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=bionicOther threatsAffected
  • =2.4.0-3
  • =2.4.0-4
  • =2.4.0-5ubuntu1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Botan is a C++ cryptography library. From 2.7.0 until 3.13.0, Botan's Scrypt implementation on 32-bit platforms computes required memory with unchecked multiplication, allowing attacker-controlled Scrypt parameters to wrap the allocation size and create a buffer smaller than the algorithm subsequently writes. The issue affects systems that enable Scrypt and accept arbitrary parameters from a hostile source, including applications that decrypt attacker-supplied encrypted private keys. A triggering parameter set can cause approximately four gigabytes of Scrypt output to be written past the allocated heap buffer, immediately crashing the process and causing denial of service. Arbitrary code execution is not demonstrated and appears difficult, but cannot be excluded from the overwrite primitive. This issue is fixed in version 3.13.0.

References

Community reviews

Loading reviews…