OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-121481, CVSS 9.8)
- ID
- 48743
- Status
- summarized
- Published
- 20 Nov 2026, 10:01 AM
- Fetched
- 20 Nov 2026, 11:27 PM
- Provider
- Hacker News
- Category
- dev-community
- Original URL
- https://github.com/openssl/openssl/pull/33652
- Source URL
- https://hnrss.org/best
Summary
- Score
- 7.5
- Created
- 20 Nov 2026, 11:28 PM
- Tags
- Audience
- developerssaas_founders
What happened
OpenSSL PR #33652 proposes a fix for CVE-2026-121481, a buffer overflow in EVP_EncodeBlock() rated CVSS 9.8, by returning -1 for NULL input/output buffers, negative lengths, and lengths whose encoded size does not fit in an int. The OpenSSL SRT asked for a public fix while the advisory is still pending; the PR also adds a similar guard for EVP_DecodeBlock(), corrects the base64encode() length check in http_client.c, and adds tests and documentation. The PR says command-line exploitation is possible by passing a large -proxy_pass to openssl s_client via an env:VAR value, and notes the pattern resembles CVE-2021-23840.
Why it matters
Treat this as a reachability question: if your code calls EVP_EncodeBlock() with caller-controlled lengths, add bounds checks now because the fix is still a PR and the advisory is pending; if you only use OpenSSL indirectly through TLS libraries and do not run openssl s_client -proxy_pass, this is a watch item rather than a mass certificate rotation.
Discussion angle
How should teams triage a CVSS 9.8 OpenSSL bug when the only public exploit path shown is a CLI flag and the fix has not merged: block releases, add local input validation, or wait for the advisory?