OpenSSL fixes critical 9.8 buffer overflow
A critical integer overflow in OpenSSL's EVP_EncodeBlock() allows an attacker to trigger a heap buffer overflow by supplying input lengths near INT_MAX. A pending fix returns -1 on invalid buffer sizes and integer wrap-around to prevent memory corruption.
While CVSS 9.8 ratings often sound alarms, exploiting a multi-gigabyte Base64 payload in real-world environments is rare, though the integer truncation pattern proves classic C footguns still haunt critical infrastructure.
- –The flaw stems from EVP_EncodeBlock() miscalculating encoded buffer lengths when inputs approach INT_MAX (~1.5 GB), writing past allocated buffers
- –OpenSSL pull request #33652 guards EVP_EncodeBlock() and EVP_DecodeBlock() by returning -1 on negative lengths, null pointers, and integer overflows
- –Command-line exposure was demonstrated in openssl s_client via oversized proxy passwords passed through environment variables
- –AI infrastructure and agent pipelines processing large multimodal payloads or base64 blobs should verify upstream C library constraints and patch once released
DISCOVERED
41m ago
2026-11-20
PUBLISHED
3h ago
2026-11-20
RELEVANCE
AUTHOR
JacobHenner