← Fri, Nov 20 digest

OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-121481, CVSS 9.8)

read article ↗ hn thread ↗

OpenSSL fixed a buffer overflow in EVP_EncodeBlock() (CVE-2026-121481) caused by inputs near 1.5GB, though real-world exploitability remains extremely low.

summary is enough The PR details a critical-rated OpenSSL bug, but the discussion provides essential context on why its 9.8 CVSS score is misleading and highlights recurring C safety pitfalls.

summary

OpenSSL PR #33652 addresses a buffer and integer overflow defect in EVP_EncodeBlock() and related functions where input lengths exceeding 1.5 gigabytes lead to undefined behavior. The fix implements input validation and boundary guards to reject oversized lengths before calculations overflow. Commenters heavily debate the utility of the 9.8 CVSS rating given the extreme constraints required to trigger the bug, while venting about constant patch cycles and C's lack of safe abstractions. Only bleeding-edge distributions using OpenSSL 4.x are currently affected.

key points

  1. CVE-2026-121481 affects EVP_EncodeBlock() and EVP_DecodeBlock() when input sizes approach INT_MAX (~1.5GB), causing calculation overflows.
  2. Despite a 9.8 CVSS score, exploitability is minimal because an attacker must be able to feed gigabytes of untrusted data into a base64 encoding routine.
  3. Only systems running bleeding-edge packages with OpenSSL 4.x (like Arch or Fedora) are impacted, as enterprise environments largely stick to OpenSSL 3.x.

who should read it

C developers, systems administrators, and security engineers managing dependency updates.

discussion skeptical

consensus

Commenters agree that the 9.8 CVSS score is vastly overblown for a bug requiring multi-gigabyte inputs, while expressing widespread fatigue over endless vulnerability patching cycles.

pushback

A minority point out that automated vulnerability scanners make patching mandatory regardless of real-world exploitability, leaving teams little choice but to react immediately.

best comment by userbinator ↗

I think CVSS 9.8 is exaggerated. This is not remotely anywhere near as serious as Heartbleed. It's an internal function which will fail if its input is far too long, but exploitability rests on how untrusted input can reach it; the key word being "untrusted". E.g. if you operate a base64 encoding service on the Internet that just reads all the data into memory at once and calls EVP_EncodeBlock(), that's exploitable. If you have a protocol that involves a block of data with a 16-bit length field which is passed to EVP_EncodeBlock(), that's 100% safe.

For those wondering about TLS: speaking as …

It breaks down the actual mechanics of why the vulnerability is difficult to exploit in practice, contrasting it with historical bugs like Heartbleed.

Generated by an LLM from the article and thread. Check the sources before relying on it.