Is zlib 2.0 vulnerable?
RubyGems · 1 release from 2.0.0 to 2.0.0 · latest zlib is 3.2.4 · checked 18 Nov 2026
Yes: 1 known advisory
Yes. zlib 2.0.0, the last 2.0 release, is affected by 1 known security advisory (1 medium), including CVE-2026-27820. Upgrade to 3.0.1 or later to fix all of them.
bundle update --conservative zlib # Gemfile: '>= 3.0.1'Is your project on an affected zlib?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting zlib 2.0.0
Buffer Overflow in Zlib::GzipReader ungetc via large input leads to memory corruption
- Affected
- >=3.2.0 <3.2.3 · >=3.1.0 <3.1.2 · <3.0.1
- Fixed in
- 3.0.1, 3.1.2, 3.2.3
Which of your client projects are still on zlib 2.0?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact zlib version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other zlib versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.