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 the buffer length exceeds capacity. This issue has been fixed in versions 3.0.1, 3.1.2 and 3.2.3.
CVE-2026-27820
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 0.6%, top 56% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 59(Track)EG Risk 59/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation1% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 45%
- KEV
- Not listed
Published
April 16, 2026
Last Modified
May 21, 2026
Advisory Details (1)
Auto-updated Sep 2, 2026Buffer Overflow vulnerability in Zlib::GzipReader · Advisory · ruby/zlib · GitHub
https://github.com/ruby/zlib/security/advisories/GHSA-g857-hhfv-j68wVendor Advisories for CVE-2026-27820(10)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:50827Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:4.0 security, bug fix, and enhancement update
- RHSA-2026:50828Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update
- RHSA-2026:50778Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby security, bug fix, and enhancement update
- RHSA-2026:50773Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby4.0 security, bug fix, and enhancement update
- RHSA-2026:50728Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update
- CVE-2026-27820Microsoft Security Response Center (MSRC)Low
zlib: Buffer Overflow in Zlib::GzipReader ungetc via large input leads to memory corruption
- RHSA-2026:8838Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- GHSA-g857-hhfv-j68wGitHub Security AdvisoriesMedium
Buffer Overflow in Zlib::GzipReader ungetc via large input leads to memory corruption
- +2 more
Patch Availability(3)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | ruby4-0-main-4.0.0-33.3.hum1 | 2026-04-17 | redhat |
| redhat | ruby3-3-main-3.3.10-23.1.hum1 | 2026-04-09 | redhat |
| redhat | ruby3-4-main-3.4.8-31.1.hum1 | 2026-04-09 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(7 across 7 ecosystems)
Alpine:v3.23(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby | — | 3.4.9-r0 | — |
Alpine:v3.24(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby | — | 3.4.9-r0 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby2.7 | 2.7.4-1 ... 2.7.4-1+deb11u5 (6 versions) | 2.7.4-1+deb11u6 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby3.1 | 3.1.2-7 ... 3.1.2-8.5 (8 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby3.3 | 3.3.8-2, 3.3.8-2.1, 3.3.8-2.2 | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ruby3.3 | 3.3.8-2, 3.3.8-2.1, 3.3.8-2.2 | — | — |
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| zlib | 0.0.1 ... 3.0.0 (8 versions) | 3.0.1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 8× in last 7d / 73× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 253 total refreshes for this CVE.
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 15:01 UTCOSV refresh
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:48 UTCEPSS rescore
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 10:23 UTCVendor advisory
- 2026-08-16 06:34 UTCEG score recompute
- 2026-08-16 06:34 UTCVendor advisory
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 23:46 UTCVendor advisory
Show 75 moreShow fewer
- 2026-08-14 19:57 UTCVendor advisory
- 2026-08-14 16:08 UTCVendor advisory
- 2026-08-14 12:19 UTCVendor advisory
- 2026-08-14 08:29 UTCVendor advisory
- 2026-08-14 04:40 UTCEG score recompute
- 2026-08-14 04:40 UTCVendor advisory
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 08:54 UTCVendor advisory
- 2026-08-13 02:28 UTCVendor advisory
- 2026-08-12 22:39 UTCVendor advisory
- 2026-08-12 18:50 UTCEG score recompute
- 2026-08-12 18:50 UTCVendor advisory
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 00:37 UTCVendor advisory
- 2026-08-11 20:48 UTCVendor advisory
- 2026-08-11 17:00 UTCEG score recompute
- 2026-08-11 17:00 UTCVendor advisory
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-11 06:26 UTCVendor advisory
- 2026-08-11 02:36 UTCEG score recompute
- 2026-08-11 02:36 UTCVendor advisory
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 11:53 UTCVendor advisory
- 2026-08-10 07:50 UTCVendor advisory
- 2026-08-10 04:02 UTCVendor advisory
- 2026-08-10 00:12 UTCVendor advisory
- 2026-08-09 20:23 UTCVendor advisory
- 2026-08-09 16:34 UTCEG score recompute
- 2026-08-09 16:34 UTCVendor advisory
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 12:45 UTCVendor advisory
- 2026-08-09 07:46 UTCVendor advisory
- 2026-08-09 03:57 UTCEG score recompute
- 2026-08-09 03:57 UTCVendor advisory
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 08:28 UTCVendor advisory
- 2026-08-08 04:39 UTCVendor advisory
- 2026-08-08 00:50 UTCVendor advisory
- 2026-08-07 21:01 UTCVendor advisory
- 2026-08-07 17:12 UTCEG score recompute
- 2026-08-07 17:12 UTCVendor advisory
- 2026-08-07 13:22 UTCVendor advisory
- 2026-08-06 21:30 UTCVendor advisory
- 2026-08-06 17:28 UTCEG score recompute
- 2026-08-06 17:28 UTCVendor advisory
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 12:03 UTCVendor advisory
- 2026-08-06 06:58 UTCVendor advisory
- 2026-08-06 03:09 UTCVendor advisory
- 2026-08-05 23:20 UTCEG score recompute
- 2026-08-05 23:20 UTCVendor advisory
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 05:38 UTCVendor advisory
- 2026-08-04 01:22 UTCVendor advisory
- 2026-08-03 21:33 UTCEG score recompute
- 2026-08-03 21:33 UTCVendor advisory
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-03 00:45 UTCVendor advisory
- 2026-08-02 20:49 UTCVendor advisory
- 2026-08-02 16:59 UTCVendor advisory
- 2026-08-02 13:10 UTCEG score recompute
- 2026-08-02 13:10 UTCVendor advisory
- 2026-08-02 02:26 UTCEPSS rescore
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 16:27 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 15:36 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-0554EG 10.0EPSS p98HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p91HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
- CVE-2001-0011EG 10.0EPSS p94HIGH
- CVE-2001-0013EG 10.0EPSS p96HIGH
Same CWE
10 shownCWE-120
- CVE-2010-10016EG 10.0CRITICAL
- CVE-2011-4862EG 10.0EPSS p100HIGH
- CVE-2008-3496EG 10.0HIGH
- CVE-2007-1770EG 10.0EPSS p97HIGH
- CVE-2002-1337EG 10.0EPSS p99HIGH
- CVE-2001-0554EG 10.0EPSS p98HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-1999-1237EG 10.0EPSS p94HIGH
- CVE-1999-0385EG 10.0EPSS p97HIGH
- CVE-1999-0046EG 10.0EPSS p99HIGH
Frequently asked(5)
What is CVE-2026-27820?
When was CVE-2026-27820 disclosed?
Is CVE-2026-27820 actively exploited?
What is the CVSS score of CVE-2026-27820?
How do I remediate CVE-2026-27820?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-27820
Is Your Infrastructure Affected by CVE-2026-27820?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.