zlib vulnerabilities

Ruby interface for the zlib compression/decompression library

Registry
RubyGems
Latest
3.2.4
License
Ruby, BSD-2-Clause

1 known advisory

The latest version, 3.2.4, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative zlib # Gemfile: '>= 3.2.4'

Is your project on an affected zlib?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for zlib

  • MediumCVE-2026-27820GHSA-g857-hhfv-j68w16 Apr 2026

    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

Is your zlib version vulnerable?

Which of your client projects still run an old zlib?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.