CVE-2026-104267
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.
Weakness
- CWE-787: Out-of-bounds Write
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-11-11 |
Timeline
- 2026-11-06Published by the CNA21:25 UTC
- 2026-11-11CISA SSVC decision recorded5 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| randombit botan |
References
- https://github.com/randombit/botan/commit/459acdeba242dacc11ad8225e7d3e28203ce4f78
- https://github.com/randombit/botan/pull/5629
- https://github.com/randombit/botan/security/advisories/GHSA-36rp-hhp4-wh83
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-104267'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-104267'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-104267'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-104267'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).