CVE-2018-25032

Exp

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

Published: 2022-03-25 Last update: 2025-08-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-25032 is rated Exploit Available (50/100): CVSS High severity, with low exploitation likelihood (EPSS 0.09%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-25032

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-25032

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-11-21 11.52% 0.09% -11.43%
2 2025-11-18 0.08% 11.52% +11.44%
3 2025-03-30 0.08%

Full EPSS history (22 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-25032

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2018-25032

GitHub Security Advisory for CVE-2018-25032

GHSA-jc36-42cf-vqwj · Severity: high · Ecosystem: rubygems — Nokogiri affected by zlib's Out-of-bounds Write vulnerability

OS Trackers for CVE-2018-25032

vendor priority summary link
alpine CVE-2018-25032: 4 source package rows (mariadb, minizip, ruby-nokogiri, zlib); 26 state rows across 15 repos (3.12-main, 3.17-community, 3.17-main, 3.18-community, 3.18-main, 3.19-community, 3.19-main, 3.20-community, 3.20-main, 3.21-community, 3.21-main, 3.22-community, 3.22-main, edge-community, edge-main); fixed 26, open 0. https://security.alpinelinux.org/vuln/CVE-2018-25032
debian not yet assigned CVE-2018-25032 not yet assigned priority: Debian including 2 source packages (libz-mingw-w64, zlib), 10 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 9, open 1. https://security-tracker.debian.org/tracker/CVE-2018-25032
gentoo normal CVE-2018-25032: 2 GLSA(s) (202210-42, 202405-22), 2 atom(s) (net-misc/rsync, sys-libs/zlib); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-25032
redhat high https://access.redhat.com/security/cve/CVE-2018-25032
suse high CVE-2018-25032 severity important: SUSE including 511 source package names (0.21.0.1.8.13:libz1-1.2.11-150000.3.30.1, 0.23.0.3.2.201:libz1-1.2.11-150000.3.30.1, …), 1089 product×package rows across 311 product lines (Container bci/bci-init, Container bci/bci-minimal, … (311 product lines)): Fixed 908, Known Affected 181. https://www.suse.com/security/cve/CVE-2018-25032/
ubuntu medium CVE-2018-25032 medium priority: Ubuntu including 5 source packages (klibc, mariadb-10.3, mariadb-10.6, rsync, zlib), 43 status rows across 10 suites (bionic, focal, impish, jammy, kinetic, mantic, noble, trusty, upstream, xenial): released 24, DNE 6, not-affected 6, ignored 4, needs-triage 3. https://ubuntu.com/security/CVE-2018-25032

Affected software / configurations for CVE-2018-25032

Vendor Product Version Raw CPE
nokogiri nokogiri < 1.13.4 cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*
python python >= 3.7.0, < 3.7.14 cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
python python >= 3.8.0, < 3.8.14 cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
python python >= 3.9.0, < 3.9.13 cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
python python >= 3.10.0, < 3.10.5 cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
zlib zlib >= 1.2.2.2, < 1.2.12 cpe:2.3:a:zlib:zlib:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
apple mac_os_x >= 10.15, < 10.15.7 cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:-:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020-001:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020-005:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020-007:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-001:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-002:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-003:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-006:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-007:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-008:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2022-001:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2022-002:*:*:*:*:*:*
apple mac_os_x 10.15.7 cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2022-003:*:*:*:*:*:*
apple macos >= 11.0, < 11.6.6 cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
apple macos >= 12.0.0, < 12.4 cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.3.0, < 10.3.36 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.4.0, < 10.4.26 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.5.0, < 10.5.17 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.6.0, < 10.6.9 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.7.0, < 10.7.5 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.8.0, < 10.8.4 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.9.0, < 10.9.2 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
netapp active_iq_unified_manager cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
netapp e-series_santricity_os_controller >= 11.0.0, <= 11.70.2 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:-:*:*:*:*:*:*:*
netapp oncommand_workflow_automation cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*
netapp ontap_select_deploy_administration_utility cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
netapp hci_compute_node cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:*
netapp h300s_firmware cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
netapp h500s_firmware cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
netapp h700s_firmware cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
netapp h410s_firmware cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
netapp h410c_firmware cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
siemens scalance_sc622-2c_firmware < 3.0 cpe:2.3:o:siemens:scalance_sc622-2c_firmware:*:*:*:*:*:*:*:*
siemens scalance_sc626-2c_firmware < 3.0 cpe:2.3:o:siemens:scalance_sc626-2c_firmware:*:*:*:*:*:*:*:*
siemens scalance_sc632-2c_firmware < 3.0 cpe:2.3:o:siemens:scalance_sc632-2c_firmware:*:*:*:*:*:*:*:*
siemens scalance_sc636-2c_firmware < 3.0 cpe:2.3:o:siemens:scalance_sc636-2c_firmware:*:*:*:*:*:*:*:*
siemens scalance_sc642-2c_firmware < 3.0 cpe:2.3:o:siemens:scalance_sc642-2c_firmware:*:*:*:*:*:*:*:*
siemens scalance_sc646-2c_firmware < 3.0 cpe:2.3:o:siemens:scalance_sc646-2c_firmware:*:*:*:*:*:*:*:*
azul zulu 6.45 cpe:2.3:a:azul:zulu:6.45:*:*:*:*:*:*:*
azul zulu 7.52 cpe:2.3:a:azul:zulu:7.52:*:*:*:*:*:*:*
azul zulu 8.60 cpe:2.3:a:azul:zulu:8.60:*:*:*:*:*:*:*
azul zulu 11.54 cpe:2.3:a:azul:zulu:11.54:*:*:*:*:*:*:*
azul zulu 13.46 cpe:2.3:a:azul:zulu:13.46:*:*:*:*:*:*:*
azul zulu 15.38 cpe:2.3:a:azul:zulu:15.38:*:*:*:*:*:*:*
azul zulu 17.32 cpe:2.3:a:azul:zulu:17.32:*:*:*:*:*:*:*
goto gotoassist < 11.9.18 cpe:2.3:a:goto:gotoassist:*:*:*:*:*:*:*:*

References for CVE-2018-25032

URL Tags
http://seclists.org/fulldisclosure/2022/May/33 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2022/May/35 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2022/May/38 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2022/03/25/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2022/03/26/1 Exploit Mailing List Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf Third Party Advisory
https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531 Patch Third Party Advisory
https://github.com/madler/zlib/compare/v1.2.11...v1.2.12 Patch Third Party Advisory
https://github.com/madler/zlib/issues/605 Issue Tracking Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/04/msg00000.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00008.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/09/msg00023.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU/ Third Party Advisory
https://security.gentoo.org/glsa/202210-42 Third Party Advisory
https://security.netapp.com/advisory/ntap-20220526-0009/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20220729-0004/ Third Party Advisory
https://support.apple.com/kb/HT213255 Third Party Advisory
https://support.apple.com/kb/HT213256 Third Party Advisory
https://support.apple.com/kb/HT213257 Third Party Advisory
https://www.debian.org/security/2022/dsa-5111 Patch Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/03/24/1 Mailing List Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/03/28/1 Exploit Mailing List Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/03/28/3 Mailing List Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html Patch Third Party Advisory
cvelogic Threat Intelligence