Severity: Critical (CVSS 3.1 9.8) · Exploitation: No known exploitation · Fix available: Yes
Summary
CVE-2026-121481 is a heap buffer overflow in OpenSSL's EVP_EncodeBlock() function. When the function is called with an input length close to INT_MAX, an integer overflow occurs in the calculation of the encoded output size, causing writes past the end of the caller-supplied output buffer. The flaw affects OpenSSL 4.0.x and 4.1.x and was published on 18 November 2026. Fixed versions are available and should be applied immediately given the critical severity rating.
Technical details
The root cause is an integer overflow in the output-size calculation inside EVP_EncodeBlock(). When an attacker or an application passes an input buffer whose length is close to the maximum value of a signed 32-bit integer (INT_MAX), the size arithmetic wraps around, producing an underestimated buffer length. The function then writes base64-encoded data beyond the end of the allocated output buffer.
The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H indicates the vulnerability is network-reachable, requires low attack complexity, needs no authentication or user interaction, and carries full impact to confidentiality, integrity, and availability. Any application that accepts externally supplied data and passes it to EVP_EncodeBlock() without bounding the input length is potentially exploitable. CISA's SSVC assessment classifies this as automatable with total technical impact, reinforcing the urgency of patching.
Affected products
- OpenSSL >= 4.1.0 and < 4.1.1 — fixed in 4.1.1
- OpenSSL >= 4.0.0 and < 4.0.4 — fixed in 4.0.4
Impact
- Remote code execution potential. A heap buffer overflow of this nature can overwrite adjacent heap metadata or function pointers, providing a path to arbitrary code execution in affected applications.
- No authentication required. The CVSS vector confirms an unauthenticated remote attacker can trigger the condition, widening the exposure to any internet-facing service that uses a vulnerable OpenSSL build.
- Broad supply-chain reach. OpenSSL is a foundational cryptographic library embedded in a large number of operating systems, containers, and third-party applications; the true attack surface extends well beyond direct OpenSSL consumers.
- Automated exploitation feasible. CISA's SSVC assessment marks this vulnerability as automatable, meaning it could be incorporated into scanning or exploitation tooling with minimal per-target effort.
Exploitation status
There is currently no evidence of in-the-wild exploitation, and no public proof-of-concept code has been identified. The CVE is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog at this time. However, the combination of a critical CVSS score, network accessibility with no authentication requirement, and an automatable exploitation path means patch priority should be treated as high even in the absence of active attacks.
Recommended actions
- Upgrade OpenSSL immediately. Update to OpenSSL 4.1.1 (for 4.1.x deployments) or 4.0.4 (for 4.0.x deployments) using your platform's package manager or by rebuilding from the patched source available via the fix pull request referenced below.
- Audit application code. Identify any internal or third-party code that calls
EVP_EncodeBlock()and review whether input lengths are validated and bounded before the call is made. - Restrict input sizes at the application layer. As an interim measure where upgrading is not immediately possible, enforce strict upper bounds on data passed to
EVP_EncodeBlock()to prevent near-INT_MAXvalues from reaching the function. - Scan container images and build pipelines. Enumerate all container images, CI/CD build environments, and packaged artifacts that bundle a vulnerable version of OpenSSL and prioritize rebuilding or repackaging them against the fixed version.
- Monitor for anomalous memory corruption indicators. Review application crash logs, core dumps, and heap-corruption signals (such as allocator abort messages) on hosts running affected OpenSSL versions as a potential indicator of exploitation attempts.
How Uptycs helps
Uptycs vulnerability management continuously inventories hosts, containers, and cloud workloads for affected OpenSSL versions, enabling security teams to quickly identify and prioritize assets that require patching. Uptycs Threat Research continues to monitor CVE-2026-121481 for emerging exploitation activity and will update this bulletin if the status changes.
