← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

OpenSSL Fixes Critical Buffer Overflow Vulnerability (CVE-2026-121481) in EVP_EncodeBlock()

🔄 Updated 1d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Fixes CVE-2026-121481, a buffer overflow in `EVP_EncodeBlock()`.
  • Introduces input validation in `EVP_EncodeBlock()` and `EVP_DecodeBlock()`.
  • Corrects length check in `base64encode()` within `http_client.c`.
  • Updates documentation and adds new tests for zero-length inputs.

Critical Vulnerability Addressed

OpenSSL has released a fix for CVE-2026-121481, a buffer overflow vulnerability found in the `EVP_EncodeBlock()` function. This vulnerability, rated with a CVSS score of 9.8, could lead to undefined behavior due to invalid inputs. The resolution involves returning `-1` for invalid inputs in `EVP_EncodeBlock()` and calling `OPENSSL_assert()` for inputs that would otherwise cause issues.

Broader Security Enhancements

The same protective measures have been extended to `EVP_DecodeBlock()` to prevent similar issues during decoding operations. Additionally, an incorrect length check in the `base64encode()` function within `http_client.c` has been corrected, further bolstering the security of base64 encoding and decoding processes within OpenSSL.

Documentation and Testing Updates

Accompanying these code changes, the OpenSSL documentation has been updated to reflect the new behavior and input handling. New tests have also been added to specifically document and verify the existing behavior for zero-length inputs, ensuring consistent and predictable operation under various conditions.

Impact and Availability

The fix applies to the master branch, openssl-4.0, and openssl-4.1. A backport of these guards is also being prepared for version 3.6.5. This update is critical for maintaining the integrity and reliability of applications that rely on OpenSSL for cryptographic operations, particularly those involving encoding and decoding data.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 21

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

OpenSSL has addressed a critical buffer overflow vulnerability (CVE-2026-121481) in its `EVP_EncodeBlock()` function by implementing checks for invalid inputs. This fix, which also applies to `EVP_DecodeBlock()` and `base64encode()` in `http_client.c`, prevents undefined behavior and enhances the security of OpenSSL's encoding operations.