CVE-2026-27820
ruby-lang zlib
Patch priority
This weekHigh severity or noticeable probability of exploitation.
- CVSS
- 9.8
- Severity
- 9.8
- EPSS
- 0.6 %
- Percentile
- 50
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run ruby-lang zlib. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Update within the next few days.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDzlib 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 the buffer length exceeds capacity. This issue has been fixed in versions 3.0.1, 3.1.2 and 3.2.3.
- Vendor / product
- ruby-lang zlib
- Published
- 16.04.2026
- Modified
- 26.10.2026
- CWE
- CWE-120
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor updates
13- SUSE: SUSE-SU-2026:24933-1 – Security update for ruby3.4 26.11.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:5416-1 – Security update for ruby2.5 24.11.2026 · Critical · Patch day
- Red Hat: RHSA-2026:50827 – RHSA-2026:50827 ruby-0:4.0.6-34.module+el9.8.0+24564+e55418dc.i686::ruby:4.0 security update 05.08.2026 · Patch day
- Red Hat: RHSA-2026:50828 – RHSA-2026:50828 ruby-0:3.3.12-8.module+el9.8.0+24568+2bbebe96.i686::ruby:3.3 security update 05.08.2026 · Patch day
- Red Hat: RHSA-2026:50778 – RHSA-2026:50778 ruby security update 05.08.2026 · Patch day
- Red Hat: RHSA-2026:50773 – RHSA-2026:50773 ruby4.0 security update 05.08.2026 · Patch day
- Red Hat: RHSA-2026:50728 – RHSA-2026:50728 ruby-0:3.3.12-8.module+el8.10.0+24567+c4e5368e.i686::ruby:3.3 security update 05.08.2026 · Patch day
- Ubuntu: USN-8556-1 – Ruby vulnerabilities 16.07.2026 · Critical · Patch day
- Microsoft: Mariner 23.04.2026 · Low · Patch day
- Red Hat: RHSA-2026:8838 – RHSA-2026:8838 ruby4.0-default-gems-0:4.0.0-33.3.hum1@noarch@public-hummingbird security update 18.04.2026 · Patch day
- Red Hat: RHSA-2026:7307 – RHSA-2026:7307 ruby3.4-default-gems-0:3.4.8-31.1.hum1@noarch@public-hummingbird security update 09.04.2026 · Patch day
- Red Hat: RHSA-2026:7305 – RHSA-2026:7305 ruby3.3-default-gems-0:3.3.10-23.1.hum1@noarch@public-hummingbird security update 09.04.2026 · Patch day
- SUSE: SUSE-SU-2026:1066-1 – Security update for ruby2.5 26.03.2026 · HIGH · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.