OpenSSL: buffer overflow in EVP_EncodeBlock() under review, fix not yet released
A pull request opened on November 10, 2026 in the OpenSSL repository aims to fix CVE-2026-121481, a buffer overflow in the EVP_EncodeBlock() function that converts binary data to Base64. The flaw occurs because the function does not properly check for NULL buffers, negative lengths, or sizes that overflow a 32-bit integer after Base64 expansion, allowing writes beyond the caller's allocated buffer. The proposed patch makes the function return -1 in those cases, and also tightens a length check in http_client.c. No official security advisory has been published, and the fix has not yet been merged into any released version, with the latest stable release being OpenSSL 4.1.0 from October 23, 2026. Reviewers have requested further changes, including handling of callers that do not yet check the new return value.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in