CVE-2026-27820: zlib is a Ruby interface for the zlib compression/decompression library
CVE-2026-27820 is a critical-severity flaw (CVSS 9.8) affecting zlib. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
zlib is a Ruby interface for the zlib compression/decompression library. Versions 3.0.0 and below, 3.1.0, 3.1.1, 3.2.0 and 3.2.1 contain a buffer overflow vulnerability in the Zlib::GzipReader. The zstream_buffer_ungets function prepends caller-provided bytes ahead of previously produced output but fails to guarantee the backing Ruby string has enough capacity before the memmove shifts the existing data. This can lead to memory corruption when th
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-27820?
zlib: upgrade to 3.0.1, 3.1.2, 3.2.3. Exact commands for each OS are on this page.
Is CVE-2026-27820 being exploited?
CVE-2026-27820 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-27820 affect?
CVE-2026-27820 affects zlib. Severity is critical (CVSS 9.8). zlib is a Ruby interface for the zlib compression/decompression library. Versions 3.0.0 and below, 3.1.0, 3.1.1, 3.2.0 and 3.2.1 contain a buffer overflow vulnerability in the Zlib::GzipReader. The zstream_buffer_ungets function prepends ca
How urgent is CVE-2026-27820?
Priority 51/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
Ruby vulnerabilities · zlib vulnerabilities