home / blog

2026-11-20 · critical

CVE-2026-121481: Critical Integer Overflow in OpenSSL

CVE-2026-121481: Heap buffer overflow in OpenSSL's EVP_EncodeBlock()

CVE-2026-121481: Critical Integer Overflow in OpenSSL

CVE-2026-121481 is an integer overflow vulnerability in OpenSSL's EVP_EncodeBlock() function causing a heap buffer overflow. When an input length close to INT_MAX is passed to EVP_EncodeBlock(), the calculation of the encoded output size can overflow a signed integer, causing the function to write past the end of the caller-supplied output buffer.

The technical severity is CVSS 9.8, classified as 'critical', but NVD has assessed the actual severity as 'low'. The vulnerability requires an application to pass an input length near INT_MAX (approximately 2 billion bytes) to EVP_EncodeBlock(), which is not an attacker-reachable path in OpenSSL's TLS, QUIC, and CMS implementations. There are reports on GitHub of repositories claiming to contain exploits, but without further verified details.

In defense, it is crucial to monitor OpenSSL updates and apply patches as soon as they become available. Applications that use EVP_EncodeBlock() should implement input size checks to prevent passing values near INT_MAX. Verify whether systems use vulnerable versions and, if so, prioritize applying corrections in the next security maintenance.

At a glance

What
Integer overflow in EVP_EncodeBlock() causing heap buffer overflow
Severity
CVSS 9.8, rated 'low' by NVD
Affected versions
not reported
Fix
not reported
Status
Published on 11/18/2026
Action
Monitor OpenSSL updates, apply patches when available

Sources: NVD, CVE-2026-121481

← All articles