OpenSSL Buffer Overflow CVE-2026-121481 (CVSS 9.8)
Original: OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-121481, CVSS 9.8)
Why This Matters
OpenSSL underpins TLS across the internet; a CVSS 9.8 overflow is high-priority patching.
A critical buffer overflow in OpenSSL's EVP_EncodeBlock() function, tracked as CVE-2026-121481 with CVSS score 9.8, has been disclosed via a public GitHub pull request, with an official advisory still pending.
Contributor nmouha opened pull request #33652 against the OpenSSL main branch on November 10, 2026, addressing a buffer overflow in EVP_EncodeBlock() — a widely-used Base64 encoding function in the OpenSSL library. The fix returns -1 for invalid inputs: NULL buffers, negative lengths, and inputs whose encoded size overflows a C int. The OpenSSL Security Response Team requested a public fix; the advisory has not yet been published.
The vulnerability is exploitable from the command line by passing an oversized -proxy_pass argument to openssl s_client, with GOST accepting large passwords by default. Because the command line length would otherwise be prohibitive, exploitation requires supplying the password via an environment variable. The PR also proposes a similar guard for EVP_DecodeBlock(), fixes a flawed length check in http_client.c's base64encode() function (which previously only rejected inputs greater than INT_MAX), and adds test coverage in test/base64_dec_avx2_test.c. The approach mirrors wolfSSL's compatibility layer handling of the same function.