CVE-2026-118769 Botan - Buffer Overflow

Botan 2.1.0 to 3.13.0 contains a buffer overflow caused by unchecked conversion of block size from size_t to int in botan_block_cipher_block_size function, letting attackers cause memory corruption via crafted algorithm parameters in raw ECB mode, exploit requires use of FFI raw ECB mode with external algorithm parameters.

CVSS base score 9.2 /10
Critical
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
EPSS
0.36% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Buffer Overflow
Impact
Remote Code Execution
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
29 October 2026
Updated
31 October 2026
Weakness
CWE-125

Vendor fix

Update to version 3.13.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs