Be first to know. Be ready to defend.

The 9.8 OpenSSL Base64 bug that OpenSSL itself rates Low

Illustration of the EVP_EncodeBlock function receiving an input length near INT_MAX, where the output size calculation overflows and writes past the caller's buffer, noting that it needs a 2 GB input and has no known attack pathIllustration of the EVP_EncodeBlock function receiving an input length near INT_MAX, where the output size calculation overflows and writes past the caller's buffer, noting that it needs a 2 GB input and has no known attack path
On this page
  1. The bug
  2. Why OpenSSL says Low
  3. Fixes aren’t out yet
  4. Bundled copies and Node.js
  5. What to do

If a vulnerability scanner has just shown you a 9.8 for OpenSSL, read the details before you start an emergency patch. CVE-2026-121481 is a real bug in OpenSSL 4.x, but OpenSSL rates it Low, and says it knows of no way for an attacker to trigger it.

The bug

EVP_EncodeBlock() converts a buffer to Base64. The caller allocates the output buffer, sized from the input length. According to OpenSSL’s CVE record, published on 18 November, the arithmetic that works out the encoded length overflows a signed integer when the input length is close to INT_MAX, about 2.1 billion bytes. The function then writes more than the caller reserved, overflowing a heap buffer.

Only OpenSSL 4.0.0 to 4.0.3 and 4.1.0 are affected. The 3.x, 1.1.1 and older branches aren’t listed. Nicky Mouha reported the bug and wrote the fix.

Why OpenSSL says Low

OpenSSL says it has found “no path by which an attacker can trigger this”. Its own TLS, QUIC and CMS code never encodes buffers that large, and the command line tools can’t practically be made to. To be exposed, an application has to accept an input length from an attacker and pass it to EVP_EncodeBlock() without checking it, and it has to be holding a buffer of around 2 GB when it does. The affected code is outside the FIPS module.

How different sources rate CVE-2026-121481. OpenSSL, which published the CVE record: Low, with no CVSS score. Red Hat: Low, CVSS 3.7. CISA, in its addition to the CVE record: Medium, CVSS 5.9. Ubuntu: Medium priority. OpenCVE and some news reports: Critical, CVSS 9.8, which assumes a remote attacker can trigger it with no conditions.How different sources rate CVE-2026-121481. OpenSSL, which published the CVE record: Low, with no CVSS score. Red Hat: Low, CVSS 3.7. CISA, in its addition to the CVE record: Medium, CVSS 5.9. Ubuntu: Medium priority. OpenCVE and some news reports: Critical, CVSS 9.8, which assumes a remote attacker can trigger it with no conditions.

Other ratings vary widely. Red Hat also rates it Low, with a CVSS score of 3.7, and says RHEL’s own OpenSSL packages aren’t affected. CISA’s addition to the CVE record scores it 5.9 and records no exploitation. Ubuntu gives it Medium priority. The 9.8 comes from the vulnerability tracker OpenCVE, which switched to that score on 21 November, and from news reports that repeated it. That score assumes anyone on the network can trigger the bug easily and take over the system, and neither OpenSSL nor CISA says that. NVD hasn’t done its own analysis yet.

Fixes aren’t out yet

Some reports say the bug is fixed in OpenSSL 4.0.4 and 4.1.1. Those are the first versions that won’t be affected, but neither had been released when we checked on 21 November. The fix is still an open pull request on GitHub. OpenSSL’s advisory of 17 November for three other Low-rated bugs says the next releases are scheduled for 1 December.

Bundled copies and Node.js

OpenSSL is often bundled inside other software, where system updates don’t reach it. Ubuntu’s tracker marks the Node.js package in Ubuntu 22.04 LTS as vulnerable, because Node.js there carries its own OpenSSL. That one looks odd, though. Ubuntu’s own note says that copy is OpenSSL 1.1.1m, a version outside the affected range in OpenSSL’s record. Ubuntu still lists its main openssl packages as needing evaluation.

This bug has no connection to Java4Shell, which is also a Base64 memory bug but sits in Java’s decoder, can be reached without a login in common applications, and is being probed by attackers.

What to do

  1. Find out whether you run OpenSSL 4.x anywhere. Most Linux distributions still ship 3.x, so check containers, bundled runtimes and software you built yourself. openssl version shows the system copy only.
  2. If you maintain code that calls EVP_EncodeBlock(), make sure it rejects input lengths anywhere near 2 GB before calling it. That closes the hole without waiting for a release.
  3. Plan to install OpenSSL 4.0.4 or 4.1.1, or your distribution’s fixed package, once they’re out, and restart the services that use it.
  4. Treat it as routine maintenance unless your own application passes attacker-controlled lengths to the function.

For a comparison, the two Splunk Enterprise flaws in our November patch round-up need no login and work on standard setups, which is what a high score should mean.