Buffer overflow in zlib - CVE-2026-27820
Published: April 21, 2026 / Updated: April 21, 2026
zlib
Ruby
Description
The vulnerability allows a remote attacker to cause memory corruption.
The vulnerability exists due to buffer overflow in zstream_buffer_ungets() function when parsing input within the Zlib::GzipReader. A remote attacker can provide crafted input that causes the buffer length to exceed its capacity to cause memory corruption.
User interaction is required.