Vulnerability

CVE-2026-104267

mediumCVSS 4.0 4.1Published 6 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /randombit/botan/commit/459acdeba242dacc11ad8225e7d3e28203c…
  • github.com /randombit/botan/pull/5629
  • github.com /randombit/botan/security/advisories/GHSA-36rp-hhp4-wh83

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning