CVE-2018-25032: zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
Noroxi assessment
Priority: Plan (action score 46/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 51.7% (FIRST EPSS); higher than 98.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: mingw32-zlib (AlmaLinux:8) 1.2.8-10.el8; mingw32-zlib-static (AlmaLinux:8) 1.2.8-10.el8; mingw64-zlib (AlmaLinux:8) 1.2.8-10.el8.
- Mentioned 6 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Add it to your regular patch cycle. Upgrade to mingw32-zlib (AlmaLinux:8) 1.2.8-10.el8; mingw32-zlib-static (AlmaLinux:8) 1.2.8-10.el8; mingw64-zlib (AlmaLinux:8) 1.2.8-10.el8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- BDU:2022-01641
- GHSA-jc36-42cf-vqwj
- ALSA-2022:1642
- ALSA-2022:2201
- ALSA-2022:7813
- ALSA-2022:8420
- DLA-2968-1
- DLA-2993-1
- DSA-5111-1
- openSUSE-SU-2022:10126-1
- openSUSE-SU-2022:1061-1
- openSUSE-SU-2024:11999-1
- openSUSE-SU-2024:12021-1
- openSUSE-SU-2024:12042-1
- openSUSE-SU-2024:12097-1
- openSUSE-SU-2024:12360-1
- openSUSE-SU-2024:13629-1
- openSUSE-SU-2025:14656-1
- RHSA-2022:1591
- RHSA-2022:1642
- Published
- Mar 25, 2022
- Updated
- Oct 14, 2026
- EPSS
- 51.7% · 98th percentile
- CWE
- CWE-787
Report tools
Action score
46
Add it to your regular patch cycle.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 16 / 30 · 51.7%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.5
- CNA · mitre
- 7.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| zlib | zlib | cpe:2.3:a:zlib:zlib |
| nokogiri | nokogiri | cpe:2.3:a:nokogiri:nokogiri |
| python | python | cpe:2.3:a:python:python |
| microsoft | windows | cpe:2.3:o:microsoft:windows |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| apple | mac os x | cpe:2.3:o:apple:mac_os_x |
| apple | macos | cpe:2.3:o:apple:macos |
| mariadb | mariadb | cpe:2.3:a:mariadb:mariadb |
| netapp | active iq unified manager | cpe:2.3:a:netapp:active_iq_unified_manager |
| netapp | e-series santricity os controller | cpe:2.3:a:netapp:e-series_santricity_os_controller |
| netapp | management services for element software | cpe:2.3:a:netapp:management_services_for_element_software |
and 27 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple mac os x10.15 and later · before 10.15.7
- apple mac os x10.15.7
- apple macos12.0.0 and later · before 12.4
- apple macos11.0 and later · before 11.6.6
- azul zulu11.54
- azul zulu13.46
- azul zulu15.38
- azul zulu17.32
+12 more rows
- azul zulu6.45
- azul zulu7.52
- azul zulu8.60
- debian debian linux10.0
- debian debian linux11.0
- debian debian linux9.0
- fedoraproject fedora34
- fedoraproject fedora35
- fedoraproject fedora36
- goto gotoassistbefore 11.9.18
- mariadb mariadb10.3.0 and later · before 10.3.36
- mariadb mariadb10.6.0 and later · before 10.6.9
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | mingw32-zlib | before 1.2.8-10.el8 | 1.2.8-10.el8 |
| AlmaLinux:8 | mingw32-zlib-static | before 1.2.8-10.el8 | 1.2.8-10.el8 |
| AlmaLinux:8 | mingw64-zlib | before 1.2.8-10.el8 | 1.2.8-10.el8 |
| AlmaLinux:8 | mingw64-zlib-static | before 1.2.8-10.el8 | 1.2.8-10.el8 |
| AlmaLinux:8 | rsync | before 3.1.3-14.el8 | 3.1.3-14.el8 |
| AlmaLinux:8 | rsync-daemon | before 3.1.3-14.el8 | 3.1.3-14.el8 |
| AlmaLinux:8 | zlib | before 1.2.11-18.el8_5 | 1.2.11-18.el8_5 |
| AlmaLinux:8 | zlib-devel | before 1.2.11-18.el8_5 | 1.2.11-18.el8_5 |
| AlmaLinux:8 | zlib-static | before 1.2.11-18.el8_5 | 1.2.11-18.el8_5 |
| AlmaLinux:9 | mingw32-zlib | before 1.2.12-2.el9 | 1.2.12-2.el9 |
| AlmaLinux:9 | mingw32-zlib-static | before 1.2.12-2.el9 | 1.2.12-2.el9 |
| AlmaLinux:9 | mingw64-zlib | before 1.2.12-2.el9 | 1.2.12-2.el9 |
| AlmaLinux:9 | mingw64-zlib-static | before 1.2.12-2.el9 | 1.2.12-2.el9 |
| Alpine:v3.12 | zlib | from 1.2.2.2 · before 1.2.12-r0 | 1.2.12-r0 |
| Alpine:v3.13 | mariadb | from 10.3.0 · before 10.5.17-r0 | 10.5.17-r0 |
| Alpine:v3.15 | mariadb | from 10.3.0 · before 10.6.9-r0 | 10.6.9-r0 |
| Alpine:v3.15 | minizip | before 1.2.12-r0 | 1.2.12-r0 |
| Alpine:v3.16 | zlib | from 1.2.2.2 · before 1.2.11-r4 | 1.2.11-r4 |
| Debian:10 | zlib | before 1:1.2.11.dfsg-1+deb10u1 | 1:1.2.11.dfsg-1+deb10u1 |
| Debian:11 | zlib | before 1:1.2.11.dfsg-2+deb11u1 | 1:1.2.11.dfsg-2+deb11u1 |
| Debian:12 | libz-mingw-w64 | before 1.2.11+dfsg-5 | 1.2.11+dfsg-5 |
| Debian:12 | zlib | before 1:1.2.11.dfsg-4 | 1:1.2.11.dfsg-4 |
| Debian:9 | libz-mingw-w64 | before 1.2.11+dfsg-1+deb9u1 | 1.2.11+dfsg-1+deb9u1 |
| Debian:9 | zlib | before 1:1.2.8.dfsg-5+deb9u1 | 1:1.2.8.dfsg-5+deb9u1 |
+96
Same product
zlib: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-37434zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field.45Plan
- CVE-2002-0059The decompression algorithm in zlib 1.1.3 and earlier, as used in many different utilities and packages, causes inflateEnd to release…42Plan
- CVE-2016-9841inffast.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact by leveraging improper pointer arithmetic.41Plan
Published before and after this one in the same product
- ← EarlierCVE-2016-9843May 23, 2017 · The crc32_big function in crc32.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact via vectors involving…41Plan
- ← EarlierCVE-2016-9840May 23, 2017 · inftrees.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact by leveraging improper pointer arithmetic.36Monitor
- Later →CVE-2023-45853Oct 14, 2023 · MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip4_64 via a long…40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:mingw32-zlib | 1.2.8-10.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mingw32-zlib-static | 1.2.8-10.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mingw64-zlib | 1.2.8-10.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mingw64-zlib-static | 1.2.8-10.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:rsync | 3.1.3-14.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:rsync-daemon | 3.1.3-14.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:zlib | 1.2.11-18.el8_5 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:zlib-devel | 1.2.11-18.el8_5 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:zlib-static | 1.2.11-18.el8_5 · AlmaLinux:8 | Package registry (OSV) |
| alpine:mariadb | 10.5.17-r0 · Alpine:v3.13 | Package registry (OSV) |
| alpine:minizip | 1.2.12-r0 · Alpine:v3.15 | Package registry (OSV) |
| alpine:zlib | 1.2.12-r0 · Alpine:v3.12 | Package registry (OSV) |
| debian:libz-mingw-w64 | 1.2.11+dfsg-5 · Debian:12 | Package registry (OSV) |
| debian:zlib | 1:1.2.11.dfsg-4 · Debian:12 | Package registry (OSV) |
| opensuse:freetype2 | 2.12.1-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:ghostscript | 10.02.1-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:mariadb | 10.9.3-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:mupdf | 1.20.3-bp154.2.3.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| opensuse:perl-Compress-Raw-Zlib | 2.213-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python39 | 3.9.13-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:rubygem-nokogiri | 1.13.4-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:zlib | 1.2.11-150000.3.30.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:minizip | 0:1.2.7-20.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:minizip-compat-debuginfo | 0:1.2.11-31.el9_0.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:minizip-devel | 0:1.2.7-20.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:rsync | 0:3.1.3-7.el8_2.1 · Red Hat:rhel_eus:8.2::baseos | Package registry (OSV) |
| red hat:rsync-daemon | 0:3.1.3-7.el8_2.1 · Red Hat:rhel_eus:8.2::baseos | Package registry (OSV) |
| red hat:rsync-debuginfo | 0:3.1.3-7.el8_2.1 · Red Hat:rhel_eus:8.2::baseos | Package registry (OSV) |
| red hat:rsync-debugsource | 0:3.1.3-7.el8_2.1 · Red Hat:rhel_eus:8.2::baseos | Package registry (OSV) |
| red hat:zlib | 0:1.2.11-11.el8_1.1 · Red Hat:rhel_e4s:8.1::baseos | Package registry (OSV) |
+11
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×3
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | 3 repositories | 2022-09-29 → 2023-03-16 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+188 d
- TodayNov 16, 2026+1697 d
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0706 · Nov 25, 2022(IBM Güvenlik Zafiyeti)
- TR-22-0645 · Sep 28, 2022(IBM Güvenlik Zafiyeti)
- TR-22-0606 · Sep 12, 2022(IBM WebSphere Zafiyeti)
- TR-22-0552 · Aug 15, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0474 · Jul 4, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0414 · Jun 10, 2022(RedHat Güvenlik Güncellemesi)
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- seclists.org/fulldisclosure/2022/May/35
- seclists.org/fulldisclosure/2022/May/38
- www.openwall.com/lists/oss-security/2022/03/25/2
- cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf
- github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531
- github.com/madler/zlib/compare/v1.2.11...v1.2.12
- github.com/madler/zlib/issues/605
- lists.debian.org/debian-lts-announce/2022/04/msg00000.html
- lists.debian.org/debian-lts-announce/2022/05/msg00008.html
- lists.debian.org/debian-lts-announce/2022/09/msg00023.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU/
- security.gentoo.org/glsa/202210-42
- security.netapp.com/advisory/ntap-20220526-0009/
- security.netapp.com/advisory/ntap-20220729-0004/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.