| OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-121481, CVSS 9.8)(github.com) | |
| 365 points by JacobHenner 10 days ago | 329 comments | |
tl;dr: A critical buffer overflow (CVE-2026-121481, CVSS 9.8) in OpenSSL's `EVP_EncodeBlock()` is being patched via a pull request that rejects invalid inputs (negative lengths or lengths whose base64 output exceeds INT_MAX). The same guards are being applied to `EVP_DecodeBlock()` and a flawed length check in `http_client.c`'s `base64encode()`, with the latter reachable through `s_client -proxy_pass`. The fix approach is still under discussion (returning -1 vs. `OPENSSL_assert()`), and backports to 3.6.5 and downstream projects like pkgsrc are already underway. | |
HN Discussion:
| |