NIST NVD

OpenSSL discloses critical CVE-2026-121481 buffer overflow, CVSS 9.8, fix due December 1

OpenSSL has disclosed a critical heap buffer overflow in its EVP_EncodeBlock() base64 encoder, tracked as CVE-2026-121481 with a CVSS score of 9.8. It affects OpenSSL 4.0.0–4.0.3 and 4.1.0; fixed releases are scheduled for December 1.

The OpenSSL project has disclosed a critical vulnerability in its widely used cryptographic library, tracked as CVE-2026-121481 and rated 9.8 out of 10 under the CVSS scoring system. The flaw is a heap-based buffer overflow in EVP_EncodeBlock(), the library's one-shot base64 encoder, and it was published on 18 November 2026.

The bug is an integer overflow in the way the encoder works out how large its output will be. EVP_EncodeBlock() takes the input length as a signed 32-bit integer and produces four output bytes for every three input bytes. When the input length approaches INT_MAX — about 2.1 billion bytes — the calculated output size overflows the signed integer range, and the encoder writes past the end of the output buffer the caller allocated.

The vulnerability affects OpenSSL 4.0.0 up to but not including 4.0.4, and OpenSSL 4.1.0 up to but not including 4.1.1. CISA's ADP enrichment assigned the CVSS 3.1 base score of 9.8 on 19 November, with a vector indicating the flaw is network-reachable, needs no privileges or user interaction, and can affect confidentiality, integrity and availability. GitHub's advisory GHSA-83XJ-7XH4-4P7X carries the same score.

No fixed release is available yet. The fix exists as a public pull request, and the corrected releases — 4.0.4 and 4.1.1 — are scheduled for 1 December 2026. Users of the affected versions should plan to upgrade when those releases land, and should not assume an upgrade is available before then.

The flaw requires a caller to pass an input length close to INT_MAX to EVP_EncodeBlock(), so only applications that feed very large inputs to the encoder are directly exposed. No public proof of concept or exploitation had been reported at the time of publication.

Read the original · NIST NVD

Share