Out-of-bounds Write Affecting botan package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-BOTAN-22283269
  • published8 Nov 2026
  • disclosed6 Nov 2026

Introduced: 6 Nov 2026

NewCVE-2026-104267  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest botan.

NVD Description

Note: Versions mentioned in the description apply only to the upstream botan package and not the botan package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.