Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-27820

published low CVSS 4.0 · 1.7

zlib: Buffer Overflow in Zlib::GzipReader ungetc via large input leads to memory corruption

Published
16 Apr 2026, 17:27:48 UTC
Updated
16 Apr 2026, 18:20:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ruby — zlib< 3.0.1 · >= 3.1.0, < 3.1.2 · >= 3.2.0, < 3.2.3 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1807 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 ruby-default-gems Advisory build 3.3.12-14.el10_2 ALSA-2026:50778
AlmaLinux 10 ruby-doc Advisory build 3.3.12-14.el10_2 ALSA-2026:50778
AlmaLinux 10 ruby4.0-doc Advisory build 4.0.6-36.el10_2 ALSA-2026:50773
AlmaLinux 10 rubygem-bundler Advisory build 2.5.22-14.el10_2 ALSA-2026:50778
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 rubygem-irb Advisory build 1.13.1-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-minitest Advisory build 5.20.0-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-power_assert Advisory build 2.0.3-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-rake Advisory build 13.1.0-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-rdoc Advisory build 6.6.3.1-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-rexml Advisory build 3.4.4-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-rss Advisory build 0.3.1-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-test-unit Advisory build 3.6.1-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-typeprof Advisory build 0.21.9-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygems Advisory build 3.5.22-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygems-devel Advisory build 3.5.22-14.el10_2 ALSA-2026:50778
AlmaLinux 8 ruby Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 ruby-bundled-gems Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 ruby-default-gems Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 ruby-devel Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 ruby-doc Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 ruby-libs Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-abrt Advisory build 0.4.0-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.4.0-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-bigdecimal Advisory build 3.1.5-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-bundler Advisory build 2.5.22-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-io-console Advisory build 0.7.1-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-irb Advisory build 1.13.1-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-json Advisory build 2.7.2-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-minitest Advisory build 5.20.0-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-mysql2 Advisory build 0.5.5-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-mysql2-doc Advisory build 0.5.5-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-pg Advisory build 1.5.4-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-pg-doc Advisory build 1.5.4-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-power_assert Advisory build 2.0.3-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-psych Advisory build 5.1.2-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-racc Advisory build 1.7.3-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-rake Advisory build 13.1.0-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-rbs Advisory build 3.4.0-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-rdoc Advisory build 6.6.3.1-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-rexml Advisory build 3.4.4-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-rss Advisory build 0.3.1-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-test-unit Advisory build 3.6.1-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-typeprof Advisory build 0.21.9-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygems Advisory build 3.5.22-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygems-devel Advisory build 3.5.22-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 9 ruby Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 ruby-bundled-gems Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby-bundled-gems Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 ruby-default-gems Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby-default-gems Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 ruby-devel Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby-devel Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 ruby-doc Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby-doc Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 ruby-libs Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby-libs Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-bigdecimal Advisory build 3.1.5-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-bigdecimal Advisory build 4.0.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-bundler Advisory build 2.5.22-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-bundler Advisory build 4.0.16-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-io-console Advisory build 0.7.1-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-io-console Advisory build 0.8.2-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-irb Advisory build 1.13.1-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-irb Advisory build 1.16.0-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-json Advisory build 2.18.0-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-json Advisory build 2.7.2-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-minitest Advisory build 5.20.0-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-minitest Advisory build 6.0.0-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-mysql2 Advisory build 0.5.5-3.module_el9.7.0+184+e2e36072 ALSA-2026:50828
AlmaLinux 9 rubygem-mysql2 Advisory build 0.5.7-1.module_el9.8.0+232+50f6dd36 ALSA-2026:50827
AlmaLinux 9 rubygem-mysql2-doc Advisory build 0.5.5-3.module_el9.7.0+184+e2e36072 ALSA-2026:50828
AlmaLinux 9 rubygem-mysql2-doc Advisory build 0.5.7-1.module_el9.8.0+232+50f6dd36 ALSA-2026:50827
AlmaLinux 9 rubygem-pg Advisory build 1.5.4-2.module_el9.7.0+245+447713a2 ALSA-2026:50828
AlmaLinux 9 rubygem-pg Advisory build 1.6.3-1.module_el9.8.0+232+50f6dd36 ALSA-2026:50827
AlmaLinux 9 rubygem-pg-doc Advisory build 1.5.4-2.module_el9.7.0+245+447713a2 ALSA-2026:50828
AlmaLinux 9 rubygem-pg-doc Advisory build 1.6.3-1.module_el9.8.0+232+50f6dd36 ALSA-2026:50827
AlmaLinux 9 rubygem-power_assert Advisory build 2.0.3-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-power_assert Advisory build 3.0.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-psych Advisory build 5.1.2-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-psych Advisory build 5.3.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-racc Advisory build 1.7.3-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-racc Advisory build 1.8.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-rake Advisory build 13.1.0-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-rake Advisory build 13.3.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-rbs Advisory build 3.10.0-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-rbs Advisory build 3.4.0-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-rdoc Advisory build 6.6.3.1-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-rdoc Advisory build 7.0.4-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-rexml Advisory build 3.4.4-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-rexml Advisory build 3.4.4-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-rss Advisory build 0.3.1-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-rss Advisory build 0.3.2-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-test-unit Advisory build 3.6.1-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-test-unit Advisory build 3.7.5-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-typeprof Advisory build 0.21.9-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-typeprof Advisory build 0.31.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygems Advisory build 3.5.22-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygems Advisory build 4.0.16-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygems-devel Advisory build 3.5.22-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

35

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
1.7 / 10
Severity
low
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ruby zlib < 3.0.1 (affected)>= 3.1.0, < 3.1.2 (affected)>= 3.2.0, < 3.2.3 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (GitHub_M · cna)
  • CWE-131 CWE-131: Incorrect Calculation of Buffer Size (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

zlib: Buffer Overflow in Zlib::GzipReader ungetc via large input leads to memory corruption

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
b2661c637d529287c4fbc6b9fbdb37aa133d89e4498de1dd2d7ac800a1cf47bd
Ingested
23 Sep 2026, 09:07:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected