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.
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.
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.
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 →
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.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
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.