CVE-2018-25032
zlib: A flaw found in zlib when compressing (not decompressing) certain inputs
Overview
Description
zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-787
Affected packages · 6
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Conan (C/C++) | zlib | <1.2.12 | 1.2.12 |
| Julia | GCCBootstrap_jll | >=0 | No fix yet |
| Julia | Openresty_jll | <1.21.4+0 | 1.21.4+0 |
| Julia | Python_jll | <3.10.14+0 | 3.10.14+0 |
| Julia | Zlib_jll | <1.2.12+3 | 1.2.12+3 |
| RubyGems | nokogiri | <1.13.4 | 1.13.4 |
Open a package to see all its vulnerabilities.
Operating systems · 110 fixes
Azure Linux 1 release · 2 packages
fixed 2
teckit
cloud-hypervisor-cvm
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | teckit | 0:2.5.12-4.azl3 |
| 3.0 | cloud-hypervisor-cvm | 0:38.0.72.2-1.azl3 |
Oracle Linux 3 releases · 4 packages
fixed 6
minizip
zlib
rsync
mingw32-zlib
| Release | Package | Fixed in |
|---|---|---|
| 7 | minizip +4 | 1.2.7-20.el7_9 |
| 8 | zlib +2 | 1.2.11-18.el8_5 |
| 8 | rsync +1 | 3.1.3-14.el8_6.2 |
| 9 | zlib +2 | 1.2.11-31.el9_0.1 |
| 9 | mingw32-zlib +3 | 1.2.12-2.el9 |
| 9 | rsync +1 | 3.2.3-9.el9_0.1 |
Photon OS 2 releases · 3 packages
fixed 3
rubygem-nokogiri
zlib
gdb
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | rubygem-nokogiri | 1.13.6-1.ph4 |
| 4.0 | zlib +1 | 1.2.11-3.ph4 |
| 5.0 | gdb +1 | 11.2-8.ph5 |
Red Hat 3 releases · 5 packages
fixed 18
minizip
redhat-virtualization-host-image-update
zlib
mingw32-zlib
rsync
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | minizip +4 | 0:1.2.7-17.el7_4.1 | RHSA-2023:0976 |
| 7 | minizip +4 | 0:1.2.7-18.el7_6.1 | RHSA-2023:0975 |
| 7 | minizip +4 | 0:1.2.7-18.el7_7.1 | RHSA-2023:0943 |
| 7 | minizip +4 | 0:1.2.7-20.el7_9 | RHSA-2022:2213 |
| 7 | redhat-virtualization-host-image-update | 0:4.3.23-20220622.0.el7_9 | RHSA-2022:5439 |
| 8 | zlib +1 | 0:1.2.11-11.el8_1.1 | RHSA-2022:1591 |
12 more rows
SUSE Linux Enterprise 1 release · 1 package
fixed 1
libz1
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libz1 +4 | 1.2.11-11.19.1 | SUSE-SU-2022:1023-1 |
SUSE Linux Enterprise Micro 3 releases · 1 package
fixed 3
libz1
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.0 | libz1 | 1.2.11-150000.3.30.1 | SUSE-SU-2022:1061-1 |
| 5.1 | libz1 +1 | 1.2.11-150000.3.30.1 | SUSE-SU-2022:1061-1 |
| 5.2 | libz1 | 1.2.11-150000.3.30.1 | SUSE-SU-2022:1061-2 |
alma 2 releases · 3 packages
fixed 4
zlib
mingw32-zlib
rsync
| Release | Package | Fixed in |
|---|---|---|
| 8 | zlib +2 | 1.2.11-18.el8_5 |
| 8 | mingw32-zlib +3 | 1.2.8-10.el8 |
| 8 | rsync +1 | 3.1.3-14.el8 |
| 9 | mingw32-zlib +3 | 1.2.12-2.el9 |
alpine 4 releases · 3 packages
fixed 12
zlib
minizip
mariadb
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | zlib | 1.2.11-r4 |
| 3.22 | minizip | 1.2.12-r0 |
| 3.22 | mariadb | 10.6.9-r0 |
| 3.23 | zlib | 1.2.11-r4 |
| 3.23 | minizip | 1.2.12-r0 |
| 3.23 | mariadb | 10.6.9-r0 |
6 more rows
amazon linux 1 release · 2 packages
fixed 2
minizip-compat
rsync
| Release | Package | Fixed in |
|---|---|---|
| 2023 | minizip-compat +7 | 1.2.11-33.amzn2023.0.4 |
| 2023 | rsync +3 | 3.2.6-1.amzn2023.0.3 |
chainguard 1 release · 1 package
fixed 1
zlib
| Release | Package | Fixed in |
|---|---|---|
| zlib | 1.2.13-r1 |
debian 6 releases · 2 packages
affected 2
fixed 10
libz-mingw-w64
zlib
| Release | Package | Fixed in |
|---|---|---|
| 10 | libz-mingw-w64 | affected |
| 10 | zlib | 1:1.2.11.dfsg-1+deb10u1 |
| 11 | libz-mingw-w64 | affected |
| 11 | zlib | 1:1.2.11.dfsg-2+deb11u1 |
| 12 | libz-mingw-w64 | 1.2.11+dfsg-5 |
| 12 | zlib | 1:1.2.11.dfsg-4 |
6 more rows
echo 1 release · 6 packages
fixed 6
libz-mingw-w64
zlib-1-2-11
boost-1-69-0
boost-1-75-0
boost-1-84-0
zlib
| Release | Package | Fixed in |
|---|---|---|
| libz-mingw-w64 | 1.2.11+dfsg-5 | |
| zlib-1-2-11 | 1.2.11+e1 | |
| boost-1-69-0 | 1.69.0+e1 | |
| boost-1-75-0 | 1.75.0+e1 | |
| boost-1-84-0 | 1.84.0+e1 | |
| zlib | 1:1.2.11.dfsg-4 |
openSUSE 1 release · 13 packages
fixed 13
ruby3-1-rubygem-nokogiri
ruby3-2-rubygem-nokogiri
ruby3-3-rubygem-nokogiri
ruby3-4-rubygem-nokogiri
ruby4-0-rubygem-nokogiri
mupdf
+7
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby3-1-rubygem-nokogiri | 1.13.4-1.1 | openSUSE-SU-2024:11999-1 |
| Tumbleweed | ruby3-2-rubygem-nokogiri | 1.13.9-1.7 | openSUSE-SU-2024:13165-1 |
| Tumbleweed | ruby3-3-rubygem-nokogiri | 1.15.5-1.5 | openSUSE-SU-2024:14174-1 |
| Tumbleweed | ruby3-4-rubygem-nokogiri | 1.18.2-1.1 | openSUSE-SU-2025:14697-1 |
| Tumbleweed | ruby4-0-rubygem-nokogiri | 1.18.9-1.4 | openSUSE-SU-2026:10356-1 |
| Tumbleweed | mupdf +1 | 1.19.1-1.1 | openSUSE-SU-2024:12021-1 |
7 more rows
rocky 1 release · 2 packages
fixed 2
zlib
rsync
| Release | Package | Fixed in |
|---|---|---|
| 8 | zlib +1 | 1.2.11-18.el8_5 |
| 8 | rsync +1 | 3.1.3-14.el8_6.2 |
root.io debian 3 releases · 1 package
fixed 3
rootio-zlib
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-zlib | 1:1.2.11.dfsg-2+deb11u1 |
| 12 | rootio-zlib | 1:1.2.11.dfsg-4 |
| 13 | rootio-zlib | 1:1.2.11.dfsg-4 |
seal Red Hat 1 release · 2 packages
fixed 3
seal-zlib
rsync
| Release | Package | Fixed in |
|---|---|---|
| 7 | seal-zlib +1 | 1.2.7-18.el7+sp999 |
| 7 | seal-zlib +1 | 1.2.7-21.el7_9+sp999 |
| 7 | rsync +1 | 3.1.2-12.el7_9+sp999 |
ubuntu 6 releases · 5 packages
fixed 18
zlib
rsync
klibc
mariadb-10-3
mariadb-10-6
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | zlib | 1:1.2.11.dfsg-0ubuntu2.1 |
| 18.04 | rsync | 3.1.2-2.1ubuntu1.4 |
| 18.04-ESM | zlib | 1:1.2.11.dfsg-0ubuntu2.1 |
| 18.04-ESM | klibc | 2.0.4-9ubuntu2.2+esm1 |
| 18.04-ESM | rsync | 3.1.2-2.1ubuntu1.4 |
| 20.04 | zlib | 1:1.2.11.dfsg-2ubuntu1.3 |
12 more rows
wolfi 1 release · 1 package
fixed 1
zlib
| Release | Package | Fixed in |
|---|---|---|
| zlib | 1.2.13-r1 |
References
- seclists.org http://seclists.org/fulldisclosure/2022/May/33
- seclists.org http://seclists.org/fulldisclosure/2022/May/35
- seclists.org http://seclists.org/fulldisclosure/2022/May/38
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/03/25/2
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/03/26/1
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:8420
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-25032.json
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-25032
- bugzilla.redhat.com https://bugzilla.redhat.com/2067945
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-333517.html
Show all 70 references
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-419740.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-470355.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-565386.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-942865.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2022-8420.html
- github.com https://github.com/advisories/GHSA-jc36-42cf-vqwj
- github.com https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531
- github.com https://github.com/madler/zlib/compare/v1.2.11...v1.2.12
- github.com https://github.com/madler/zlib/issues/605
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-25032.yml
- github.com https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.4
- github.com https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-v6gp-9mmm-c6p5
- groups.google.com https://groups.google.com/g/ruby-security-ann/c/vX7qSjsvWis/m/TJWN4oOKBwAJ
- linux.oracle.com https://linux.oracle.com/cve/CVE-2018-25032.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-9565.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/04/msg00000.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/05/msg00008.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/09/msg00023.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-25032
- security.gentoo.org https://security.gentoo.org/glsa/202210-42
- security.netapp.com https://security.netapp.com/advisory/ntap-20220526-0009
- security.netapp.com https://security.netapp.com/advisory/ntap-20220526-0009/
- security.netapp.com https://security.netapp.com/advisory/ntap-20220729-0004
- security.netapp.com https://security.netapp.com/advisory/ntap-20220729-0004/
- support.apple.com https://support.apple.com/kb/HT213255
- support.apple.com https://support.apple.com/kb/HT213256
- support.apple.com https://support.apple.com/kb/HT213257
- ubuntu.com https://ubuntu.com/security/notices/USN-5355-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5355-2
- ubuntu.com https://ubuntu.com/security/notices/USN-5359-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5359-2
- ubuntu.com https://ubuntu.com/security/notices/USN-5739-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6736-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6736-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-25032
- www.debian.org https://www.debian.org/security/2022/dsa-5111
- www.openwall.com https://www.openwall.com/lists/oss-security/2022/03/24/1
- www.openwall.com https://www.openwall.com/lists/oss-security/2022/03/28/1
- www.openwall.com https://www.openwall.com/lists/oss-security/2022/03/28/3
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2022.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.