Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2018-25032: zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

HighCVSS 7.5 · v3.1—Proof of concept Fix available

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

Published
Mar 25, 2022
Updated
Oct 14, 2026
EPSS
51.7% · 98th percentile

Report tools

JSON

Action score

46

Plan

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.

Follow CVE-2018-25032

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi 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 help

Affected 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.

VendorProduct
zlibzlib
nokogirinokogiri
pythonpython
microsoftwindows
debiandebian linux
fedoraprojectfedora
applemac os x
applemacos
mariadbmariadb
netappactive iq unified manager
netappe-series santricity os controller
netappmanagement 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

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8mingw32-zlibbefore 1.2.8-10.el81.2.8-10.el8
AlmaLinux:8mingw32-zlib-staticbefore 1.2.8-10.el81.2.8-10.el8
AlmaLinux:8mingw64-zlibbefore 1.2.8-10.el81.2.8-10.el8
AlmaLinux:8mingw64-zlib-staticbefore 1.2.8-10.el81.2.8-10.el8
AlmaLinux:8rsyncbefore 3.1.3-14.el83.1.3-14.el8
AlmaLinux:8rsync-daemonbefore 3.1.3-14.el83.1.3-14.el8
AlmaLinux:8zlibbefore 1.2.11-18.el8_51.2.11-18.el8_5
AlmaLinux:8zlib-develbefore 1.2.11-18.el8_51.2.11-18.el8_5
AlmaLinux:8zlib-staticbefore 1.2.11-18.el8_51.2.11-18.el8_5
AlmaLinux:9mingw32-zlibbefore 1.2.12-2.el91.2.12-2.el9
AlmaLinux:9mingw32-zlib-staticbefore 1.2.12-2.el91.2.12-2.el9
AlmaLinux:9mingw64-zlibbefore 1.2.12-2.el91.2.12-2.el9
AlmaLinux:9mingw64-zlib-staticbefore 1.2.12-2.el91.2.12-2.el9
Alpine:v3.12zlibfrom 1.2.2.2 · before 1.2.12-r01.2.12-r0
Alpine:v3.13mariadbfrom 10.3.0 · before 10.5.17-r010.5.17-r0
Alpine:v3.15mariadbfrom 10.3.0 · before 10.6.9-r010.6.9-r0
Alpine:v3.15minizipbefore 1.2.12-r01.2.12-r0
Alpine:v3.16zlibfrom 1.2.2.2 · before 1.2.11-r41.2.11-r4
Debian:10zlibbefore 1:1.2.11.dfsg-1+deb10u11:1.2.11.dfsg-1+deb10u1
Debian:11zlibbefore 1:1.2.11.dfsg-2+deb11u11:1.2.11.dfsg-2+deb11u1
Debian:12libz-mingw-w64before 1.2.11+dfsg-51.2.11+dfsg-5
Debian:12zlibbefore 1:1.2.11.dfsg-41:1.2.11.dfsg-4
Debian:9libz-mingw-w64before 1.2.11+dfsg-1+deb9u11.2.11+dfsg-1+deb9u1
Debian:9zlibbefore 1:1.2.8.dfsg-5+deb9u11:1.2.8.dfsg-5+deb9u1

+96

Same product

zlib: all records

Other 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 / packageFixed versionSource
almalinux:mingw32-zlib1.2.8-10.el8 · AlmaLinux:8Package registry (OSV)
almalinux:mingw32-zlib-static1.2.8-10.el8 · AlmaLinux:8Package registry (OSV)
almalinux:mingw64-zlib1.2.8-10.el8 · AlmaLinux:8Package registry (OSV)
almalinux:mingw64-zlib-static1.2.8-10.el8 · AlmaLinux:8Package registry (OSV)
almalinux:rsync3.1.3-14.el8 · AlmaLinux:8Package registry (OSV)
almalinux:rsync-daemon3.1.3-14.el8 · AlmaLinux:8Package registry (OSV)
almalinux:zlib1.2.11-18.el8_5 · AlmaLinux:8Package registry (OSV)
almalinux:zlib-devel1.2.11-18.el8_5 · AlmaLinux:8Package registry (OSV)
almalinux:zlib-static1.2.11-18.el8_5 · AlmaLinux:8Package registry (OSV)
alpine:mariadb10.5.17-r0 · Alpine:v3.13Package registry (OSV)
alpine:minizip1.2.12-r0 · Alpine:v3.15Package registry (OSV)
alpine:zlib1.2.12-r0 · Alpine:v3.12Package registry (OSV)
debian:libz-mingw-w641.2.11+dfsg-5 · Debian:12Package registry (OSV)
debian:zlib1:1.2.11.dfsg-4 · Debian:12Package registry (OSV)
opensuse:freetype22.12.1-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ghostscript10.02.1-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:mariadb10.9.3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:mupdf1.20.3-bp154.2.3.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:perl-Compress-Raw-Zlib2.213-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python393.9.13-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:rubygem-nokogiri1.13.4-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:zlib1.2.11-150000.3.30.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:minizip0:1.2.7-20.el7_9 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:minizip-compat-debuginfo0:1.2.11-31.el9_0.1 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:minizip-devel0:1.2.7-20.el7_9 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:rsync0:3.1.3-7.el8_2.1 · Red Hat:rhel_eus:8.2::baseosPackage registry (OSV)
red hat:rsync-daemon0:3.1.3-7.el8_2.1 · Red Hat:rhel_eus:8.2::baseosPackage registry (OSV)
red hat:rsync-debuginfo0:3.1.3-7.el8_2.1 · Red Hat:rhel_eus:8.2::baseosPackage registry (OSV)
red hat:rsync-debugsource0:3.1.3-7.el8_2.1 · Red Hat:rhel_eus:8.2::baseosPackage registry (OSV)
red hat:zlib0:1.2.11-11.el8_1.1 · Red Hat:rhel_e4s:8.1::baseosPackage 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.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHub3 repositories2022-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.

  1. Published
  2. First PoC+188 d
  3. 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.

All national notices →

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 Write

CVSS 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.

References

Show all references (19 more)

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records