OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-121481, CVSS 9.8)
A security vulnerability (CVE-2026-121481) has been identified in OpenSSL's EVP_EncodeBlock function, which is susceptible to a buffer overflow. A patch has been proposed to return error codes for invalid inputs to prevent potential exploitation.
Why it matters
OpenSSL is a critical component of internet security; vulnerabilities here can affect the encryption protocols used by millions of servers and applications.
Code Issues 1k ( 1k ) Pull requests 685 ( 685 ) Discussions Actions Projects Wiki Security and quality Insights More items [NSF] [CVE-2026-121481] Buffer overflow in EVP_EncodeBlock() - # 33652 # 33652 Open nmouha wants to merge 4 commits into openssl:master openssl/openssl:master from nmouha:cve-2026-121481 nmouha/openssl:cve-2026-121481 Copy head branch name to clipboard Conversation Commits 4 ( 4 ) Checks Files changed Open [NSF] [CVE-2026-121481] Buffer overflow in EVP_EncodeBlock() # 33652 nmouha wants to merge 4 commits into openssl:master openssl/openssl:master from nmouha:cve-2026-121481 nmouha/openssl:cve-2026-121481 Copy head branch name to clipboard Conversation nmouha commented Nov 10, 2026 Copy link Copy Markdown Contributor This fixes "Buffer overflow in EVP_EncodeBlock()" ( CVE-2026-121481 ) by returning -1 for invalid inputs to EVP_EncodeBlock() : NULL input or output buffers, negative lengths, and lengths for which the encoded size does not fit in an int .
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in