5.9

CVE-2026-121481: Integer Overflow in EVP_EncodeBlock() with Very Large Input Lengths

Awaiting analysis
AliasesUBUNTU-CVE-2026-121481CGA-2h3q-3qvm-pqwcCGA-322m-6jv6-7875
Published 18-11-2026Last modified 30-11-2026

Vulnerability summary

CVE-2026-121481 is a medium (CVSS 5.9) Heap-based Buffer Overflow vulnerability in openssl. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 49.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.59%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7

Timeline

  1. 18-11-2026
    PublishedVulnerability first disclosed.
  2. 30-11-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.59%

Chance of exploitation in the next 30 days

Percentile

50%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

19-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard11 products
  • eco-python-openssl-4All versions (No fix recorded)
  • eco-python-openssl-4-pyca-devAll versions (No fix recorded)
  • openssl-4.0All versions (No fix recorded)
  • openssl-4.0-dbgAll versions (No fix recorded) | < 4.0.4-r0
  • openssl-4.0-devAll versions (No fix recorded) | < 4.0.4-r0
Ubuntu6 products
  • edk2All versions (No fix recorded)
  • edk2-hweAll versions (No fix recorded)
  • nodejsAll versions (No fix recorded)
  • opensslAll versions (No fix recorded)
  • openssl-fipsAll versions (No fix recorded)
Wolfi6 products
  • openssl-4.0All versions (No fix recorded)
  • openssl-4.0-dbgAll versions (No fix recorded) | < 4.0.4-r0
  • openssl-4.0-devAll versions (No fix recorded) | < 4.0.4-r0
  • openssl-4.0-docAll versions (No fix recorded) | < 4.0.4-r0
  • openssl-4.0-libcryptoAll versions (No fix recorded)
Debian1 product
  • opensslAll versions (No fix recorded)
Openssl1 product
  • openssl≥ 4.1.0, < 4.1.1 | ≥ 4.0.0, < 4.0.4

5 vendors · 25 products

References

7 links