OpenSSL Base64 encoder heap overflow rated 9.8 (CVE-2026-121481)
Original title: OpenSSL Hit by Critical 9.8 Heap Buffer Overflow Vulnerability in Base64 Encoding Function
OpenSSL 4.0.0 through 4.0.3 and 4.1.0 are affected; the first fixes are 4.0.4 and 4.1.1.
A heap buffer overflow in OpenSSL's EVP_EncodeBlock() can write past a caller-supplied buffer when encoding very large inputs. CVE-2026-121481, published November 18, 2026, has a CVSS 3.1 score of 9.8. Affected releases are 4.0.0 through 4.0.3 and 4.1.0, with 4.0.4 and 4.1.1 as the first fixed versions; the 3.x branch is outside those ranges. TLS use alone does not show exposure, which depends on passing large untrusted data to the encoder. Ubuntu rates the issue Medium and marks its Ubuntu 22.04 LTS nodejs package vulnerable because it embeds OpenSSL.
Unconfirmed: The report does not say whether attackers are exploiting CVE-2026-121481.
- The length calculation can overflow the integer used to size the output buffer.
- A write beyond the buffer can corrupt nearby memory or crash the application.
- Ubuntu says its main openssl packages still need evaluation.
- Upstream version numbers do not confirm that a vendor package is already fixed.
Impact: memory corruption or crash from oversized Base64 input
| Product | Affected | Fixed in |
|---|---|---|
| OpenSSL | 4.0.0 through 4.0.3 and 4.1.0 | 4.0.4 and 4.1.1 |
| Ubuntu nodejs | Ubuntu 22.04 LTS package | — |
- 1.Update OpenSSL 4.0.x to 4.0.4 and 4.1.x to 4.1.1 once the vendor package is confirmed.
- 2.Inventory bundled OpenSSL copies, including the Ubuntu 22.04 LTS nodejs package.
- 3.Enforce application input limits before encoding until a confirmed update is installed.
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-121481 | Heap overflow in OpenSSL EVP_EncodeBlock near INT_MAX | 5.9 | <1% | PoC |
From the original article
2 min read at cybersecuritynews.com
A heap buffer overflow in OpenSSL’s Base64 encoding function can corrupt application memory when the library processes very large inputs. The flaw, tracked as CVE-2026-121481, was published on November 18, 2026, with a critical CVSS 3. 1 score of 9.
By Guru Baran · cybersecuritynews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.