CVE-2026-121481
Last modified
CVE-2026-121481 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | >= 4.1.0, < 4.1.1; >= 4.0.0, < 4.0.4 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-121481?
How severe is CVE-2026-121481?
How do I fix CVE-2026-121481?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-121453SQLBot through 1.10.3 contains a path traversal vulnerabilit…2.7
- CVE-2026-121454Padloc before 4.3.1 contains a missing authentication vulner…3.7
- CVE-2026-121455DbGate before 7.3.3 contains a missing authorization vulnera…5.4
- CVE-2026-121458Instatic before 0.0.21 contains a missing authorization vuln…6.5
- CVE-2026-121472The AutomatorWP WordPress plugin before 6.0.8 does not bind…5
- CVE-2026-12148IBM MQ Operator could allow an authenticated attacker to cau…8.8
- CVE-2026-121482Verifying a maliciously crafted CMS or PKCS#7 SignedData mes…7.5
- CVE-2026-121489Improper Limitation of a Pathname to a Restricted Directory …10
- CVE-2026-121491The Fiber Admin WordPress plugin before 4.0.1 does not valid…9
- CVE-2026-121492The Fiber Admin WordPress plugin before 4.0.1 does not have …5.3
- CVE-2026-121497The AskAny WordPress plugin before 2.2.0 does not validate …9.8
- CVE-2026-121498The AskAny WordPress plugin before 2.2.1 does not verify th…4.8
Are you affected by CVE-2026-121481?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
