CVE-2026-121481OpenSSL
Integer Overflow Buffer Overflow in OpenSSL EVP_EncodeBlock()
Medium 5.9 No auth needed
- Priority
- 56
- CVSS 3.1
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- Nov 18, 2026
- Updated
- Nov 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
The EVP_EncodeBlock() function in OpenSSL contains an integer overflow that can cause a heap buffer overflow when processing input lengths near INT_MAX. Although the vulnerability requires an application to pass an attacker-controlled length without its own validation, no practical exploitation path has been identified in OpenSSL's TLS, QUIC, and CMS implementations.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
Issue summary: Calling EVP_EncodeBlock() with an input length close to INT_MAX
may overflow the calculation of the encoded output size and write past the end
of the caller-supplied output buffer.
Impact summary: No path by which an attacker can trigger this has been
identified. An application that passes an input length near INT_MAX to
EVP_EncodeBlock() could suffer a heap buffer overflow, crashing or corrupting
its own memory, but it must itself supply such a length.
CWE: CWE-190: Integer Overflow or Wraparound
Description: EVP_EncodeBlock() base64-encodes a buffer of a caller-supplied
length into an output buffer that the caller allocates. The caller is expected
to reserve 4*((len+2)/3)+1 bytes. For input lengths close to INT_MAX, the
arithmetic that computes the encoded length overflows a signed integer, so the
function writes more data than the documented output size. The result is a
heap buffer overflow in the calling process.
Reaching this requires an application to pass an input length near INT_MAX to
EVP_EncodeBlock(). OpenSSL's TLS, QUIC and CMS implementations never encode
buffers of that size, and the command line tools cannot practically be made to
do so: the limits on reading a proxy password from a file and on bignum sizes
prevent it. An application that accepts an attacker-controlled length and
forwards it to EVP_EncodeBlock() without its own bound check is exposed.
The severity is Low because no attacker-controlled path to the overflow is
known. The caller must already hold a buffer of about two gigabytes before the
defect can be reached.
FIPS impact: no
The affected code is outside the FIPS module boundary.
What to do
No patch data
Update OpenSSL to the patched version when available. Validate input lengths before passing to EVP_EncodeBlock() if your application accepts user-controlled lengths.
Vendor advisory · github.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for OpenSSL.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- OpenSSL · OpenSSL
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
On social media
36 people and 37 posts on Bluesky in the last 30 days.
Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky
Official sources
References
Links published by the sources. Open them with care.