CVE-2018-25032
zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
02 Description
zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 51.73% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 98.8% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-03-25 00:00Z4 YR AGO
- Last updated
- 2026-10-14 06:35Z15 DAYS AGO
- Reserved
- 2022-03-25
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- Data version
- 5.2
- Document digest
- e6e6336b05c61299d011e9cd662bbccd81075be3386047313e548fa30ee0b906
05 Affected products
06 References
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2022/03/24/1
- github.comhttps://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531
- www.openwall.com[oss-security] 20220325 Re: zlib memory corruption on deflate (i.e. compress)http://www.openwall.com/lists/oss-security/2022/03/25/2
- www.openwall.com[oss-security] 20220326 Re: zlib memory corruption on deflate (i.e. compress)http://www.openwall.com/lists/oss-security/2022/03/26/1
- www.debian.orgDSA-5111https://www.debian.org/security/2022/dsa-5111
- lists.debian.org[debian-lts-announce] 20220402 [SECURITY] [DLA 2968-1] zlib security updatehttps://lists.debian.org/debian-lts-announce/2022/04/msg00000.html
- lists.fedoraproject.orgFEDORA-2022-413a80a102https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F/
- lists.fedoraproject.orgFEDORA-2022-dbd2935e44https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU/
- lists.fedoraproject.orgFEDORA-2022-12b89e2aadhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y/
- lists.debian.org[debian-lts-announce] 20220507 [SECURITY] [DLA 2993-1] libz-mingw-w64 security updatehttps://lists.debian.org/debian-lts-announce/2022/05/msg00008.html
- seclists.org20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalinahttp://seclists.org/fulldisclosure/2022/May/33
- seclists.org20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6http://seclists.org/fulldisclosure/2022/May/35
- seclists.org20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4http://seclists.org/fulldisclosure/2022/May/38
- lists.fedoraproject.orgFEDORA-2022-61cf1c64f6https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB/
- www.oracle.comhttps://www.oracle.com/security-alerts/cpujul2022.html
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2022/03/28/3
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2022/03/28/1
- github.comhttps://github.com/madler/zlib/compare/v1.2.11...v1.2.12
- github.comhttps://github.com/madler/zlib/issues/605
- support.apple.comhttps://support.apple.com/kb/HT213257
- support.apple.comhttps://support.apple.com/kb/HT213256
- support.apple.comhttps://support.apple.com/kb/HT213255
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20220526-0009/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20220729-0004/
- lists.fedoraproject.orgFEDORA-2022-3a92250fd5https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4/
- lists.fedoraproject.orgFEDORA-2022-b58a85e167https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF/
- lists.debian.org[debian-lts-announce] 20220916 [SECURITY] [DLA 3114-1] mariadb-10.3 security updatehttps://lists.debian.org/debian-lts-announce/2022/09/msg00023.html
- security.gentoo.orgGLSA-202210-42https://security.gentoo.org/glsa/202210-42
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-333517.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-419740.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-565386.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-942865.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-470355.html
07 Fixed in
AlmaLinux 8
- mingw32-zlib Fixed in 1.2.8-10.el8
- mingw32-zlib-static Fixed in 1.2.8-10.el8
- mingw64-zlib Fixed in 1.2.8-10.el8
- mingw64-zlib-static Fixed in 1.2.8-10.el8
- rsync Fixed in 3.1.3-14.el8
- rsync-daemon Fixed in 3.1.3-14.el8
- zlib Fixed in 1.2.11-18.el8_5
- zlib-devel Fixed in 1.2.11-18.el8_5
- zlib-static Fixed in 1.2.11-18.el8_5
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- mingw32-zlib Fixed in 1.2.12-2.el9
- mingw32-zlib-static Fixed in 1.2.12-2.el9
- mingw64-zlib Fixed in 1.2.12-2.el9
- mingw64-zlib-static Fixed in 1.2.12-2.el9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- zlib Fixed in 1:1.2.12-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- mingw32-zlib Fixed in 1.2.8-10.el8
- mingw32-zlib-static Fixed in 1.2.8-10.el8
- mingw64-zlib Fixed in 1.2.8-10.el8
- mingw64-zlib-static Fixed in 1.2.8-10.el8
- rsync Fixed in 3.1.3-14.el8
- rsync-daemon Fixed in 3.1.3-14.el8
- zlib Fixed in 1.2.11-18.el8_5
- zlib-devel Fixed in 1.2.11-18.el8_5
- zlib-static Fixed in 1.2.11-18.el8_5
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- mingw32-zlib Fixed in 1.2.12-2.el9
- mingw32-zlib-static Fixed in 1.2.12-2.el9
- mingw64-zlib Fixed in 1.2.12-2.el9
- mingw64-zlib-static Fixed in 1.2.12-2.el9
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- libz-mingw-w64 Fixed in 1.2.11+dfsg-5
- zlib Fixed in 1:1.2.11.dfsg-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libz-mingw-w64 Fixed in 1.2.11+dfsg-5
- zlib Fixed in 1:1.2.11.dfsg-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libz-mingw-w64 Fixed in 1.2.11+dfsg-5
- zlib Fixed in 1:1.2.11.dfsg-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- rsync Fixed in 3.1.2-2.1ubuntu1.4
- zlib Fixed in 1:1.2.11.dfsg-0ubuntu2.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- klibc Fixed in 2.0.7-1ubuntu5.2
- mariadb-10.3 Fixed in 1:10.3.37-0ubuntu0.20.04.1
- rsync Fixed in 3.1.3-8ubuntu0.3
- zlib Fixed in 1:1.2.11.dfsg-2ubuntu1.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- klibc Fixed in 2.0.10-4ubuntu0.1
- mariadb-10.6 Fixed in 1:10.6.11-0ubuntu0.22.04.1
- zlib Fixed in 1:1.2.11.dfsg-2ubuntu9
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- klibc Fixed in 2.0.13-4ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- klibc Fixed in 2.0.3-0ubuntu1.14.04.3+esm3Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- zlib Fixed in 1:1.2.8.dfsg-1ubuntu1.1+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- klibc Fixed in 2.0.4-8ubuntu1.16.04.4+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- rsync Fixed in 3.1.1-3ubuntu1.3+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- zlib Fixed in 1:1.2.8.dfsg-2ubuntu4.3+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- klibc Fixed in 2.0.4-9ubuntu2.2+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.