CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5). EPSS 52% estimated probability of exploitation activity in the next 30 days. Fixed in nokogiri 1.13.4.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hnokogiri (RubyGems): fixed in 1.13.4Explain CVE-2018-25032 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-25032?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-25032?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-25032 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| nokogiri:nokogiri | before 1.13.4 |
| python:python | from 3.7.0 before 3.7.14 |
| python:python | from 3.8.0 before 3.8.14 |
| python:python | from 3.9.0 before 3.9.13 |
| python:python | from 3.10.0 before 3.10.5 |
| zlib:zlib | from 1.2.2.2 before 1.2.12 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| fedoraproject:fedora | 36 |
| apple:mac_os_x | from 10.15 before 10.15.7 |
| apple:mac_os_x | 10.15.7 |
| apple:mac_os_x | 10.15.7:security_update_2020 |
| apple:mac_os_x | 10.15.7:security_update_2020-001 |
| apple:mac_os_x | 10.15.7:security_update_2020-005 |
| apple:mac_os_x | 10.15.7:security_update_2020-007 |
| apple:mac_os_x | 10.15.7:security_update_2021-001 |
| apple:mac_os_x | 10.15.7:security_update_2021-002 |
| apple:mac_os_x | 10.15.7:security_update_2021-003 |
| apple:mac_os_x | 10.15.7:security_update_2021-006 |
| apple:mac_os_x | 10.15.7:security_update_2021-007 |
| apple:mac_os_x | 10.15.7:security_update_2021-008 |
| apple:mac_os_x | 10.15.7:security_update_2022-001 |
| apple:mac_os_x | 10.15.7:security_update_2022-002 |
| apple:mac_os_x | 10.15.7:security_update_2022-003 |
| apple:macos | from 11.0 before 11.6.6 |
| apple:macos | from 12.0.0 before 12.4 |
| mariadb:mariadb | from 10.3.0 before 10.3.36 |
| mariadb:mariadb | from 10.4.0 before 10.4.26 |
| mariadb:mariadb | from 10.5.0 before 10.5.17 |
| mariadb:mariadb | from 10.6.0 before 10.6.9 |
| mariadb:mariadb | from 10.7.0 before 10.7.5 |
| mariadb:mariadb | from 10.8.0 before 10.8.4 |
| mariadb:mariadb | from 10.9.0 before 10.9.2 |
| netapp:e-series_santricity_os_controller | from 11.0.0 through 11.70.2 |
| siemens:scalance_sc622-2c_firmware | before 3.0 |
| siemens:scalance_sc626-2c_firmware | before 3.0 |
| siemens:scalance_sc632-2c_firmware | before 3.0 |
| siemens:scalance_sc636-2c_firmware | before 3.0 |
| siemens:scalance_sc642-2c_firmware | before 3.0 |
| siemens:scalance_sc646-2c_firmware | before 3.0 |
| azul:zulu | 6.45 |
| azul:zulu | 7.52 |
| azul:zulu | 8.60 |
| azul:zulu | 11.54 |
| azul:zulu | 13.46 |
| azul:zulu | 15.38 |
| azul:zulu | 17.32 |
| goto:gotoassist | before 11.9.18 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-jc36-42cf-vqwj | RubyGems | nokogiri | <1.13.4 | 1.13.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | libz-mingw-w64 | 1.2.11+dfsg-1+deb9u1 | DLA-2993-1 |
| Debian | 9 | zlib | 1:1.2.8.dfsg-5+deb9u1 | DLA-2968-1 |
| Debian | 10 | zlib | 1:1.2.11.dfsg-1+deb10u1 | DSA-5111-1 |
| Debian | 11 | zlib | 1:1.2.11.dfsg-2+deb11u1 | DSA-5111-1 |
| Debian | 12, 13, 14 | libz-mingw-w64 | 1.2.11+dfsg-5 | DEBIAN-CVE-2018-25032 |
| Debian | 12, 13, 14 | zlib | 1:1.2.11.dfsg-4 | DEBIAN-CVE-2018-25032 |
| Ubuntu | 18.04:LTS | rsync | 3.1.2-2.1ubuntu1.4 | UBUNTU-CVE-2018-25032 USN-5359-1 |
| Ubuntu | 18.04:LTS | zlib | 1:1.2.11.dfsg-0ubuntu2.1 | UBUNTU-CVE-2018-25032 USN-5355-1 |
| Ubuntu | 20.04:LTS | klibc | 2.0.7-1ubuntu5.2 | UBUNTU-CVE-2018-25032 USN-6736-1 |
| Ubuntu | 20.04:LTS | mariadb-10.3 | 1:10.3.37-0ubuntu0.20.04.1 | UBUNTU-CVE-2018-25032 USN-5739-1 |
| Ubuntu | 20.04:LTS | rsync | 3.1.3-8ubuntu0.3 | UBUNTU-CVE-2018-25032 USN-5359-1 |
| Ubuntu | 20.04:LTS | zlib | 1:1.2.11.dfsg-2ubuntu1.3 | UBUNTU-CVE-2018-25032 USN-5355-1 |
| Ubuntu | 22.04:LTS | klibc | 2.0.10-4ubuntu0.1 | UBUNTU-CVE-2018-25032 USN-6736-1 |
| Ubuntu | 22.04:LTS | mariadb-10.6 | 1:10.6.11-0ubuntu0.22.04.1 | UBUNTU-CVE-2018-25032 USN-5739-1 |
| Ubuntu | 22.04:LTS | zlib | 1:1.2.11.dfsg-2ubuntu9 | UBUNTU-CVE-2018-25032 |
| Ubuntu | 24.04:LTS | klibc | 2.0.13-4ubuntu0.1 | UBUNTU-CVE-2018-25032 USN-6736-2 |
| Ubuntu | Pro:14.04:LTS | klibc | 2.0.3-0ubuntu1.14.04.3+esm3 | UBUNTU-CVE-2018-25032 USN-6736-1 |
| Ubuntu | Pro:14.04:LTS | zlib | 1:1.2.8.dfsg-1ubuntu1.1+esm1 | UBUNTU-CVE-2018-25032 USN-5355-2 |
| 4 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | zlib, minizip, zlib-devel and 3 more | 0:1.2.7-20.el7_9 | RHSA-2022:2213 |
| Red Hat | enterprise_linux:7::computenode | minizip, zlib-devel, zlib-static and 2 more | 0:1.2.7-20.el7_9 | RHSA-2022:2213 |
| Red Hat | enterprise_linux:7::hypervisor | redhat-virtualization-host, redhat-virtualization-host-image-update | 0:4.3.23-20220622.0.el7_9 | RHSA-2022:5439 |
| Red Hat | enterprise_linux:8::baseos | rsync, rsync-daemon, rsync-debuginfo and 1 more | 0:3.1.3-14.el8_6.2 | RHSA-2022:2201 |
| Red Hat | enterprise_linux:8::baseos | zlib, zlib-devel, zlib-debuginfo and 1 more | 0:1.2.11-18.el8_5 | RHSA-2022:1642 |
| Red Hat | enterprise_linux:8::crb | mingw-zlib, mingw32-zlib, mingw64-zlib and 4 more | 0:1.2.8-10.el8 | RHSA-2022:7813 |
| Red Hat | enterprise_linux:8::crb | zlib-static, zlib-debuginfo, zlib-debugsource | 0:1.2.11-18.el8_5 | RHSA-2022:1642 |
| Red Hat | enterprise_linux:9::appstream | rsync-daemon | 0:3.2.3-9.el9_0.1 | RHSA-2022:4592 |
| Red Hat | enterprise_linux:9::appstream | zlib-devel, zlib-debuginfo, zlib-debugsource and 1 more | 0:1.2.11-31.el9_0.1 | RHSA-2022:4584 |
| Red Hat | enterprise_linux:9::baseos | rsync, rsync-debuginfo, rsync-debugsource | 0:3.2.3-9.el9_0.1 | RHSA-2022:4592 |
| Red Hat | enterprise_linux:9::baseos | zlib, zlib-debuginfo, zlib-debugsource and 1 more | 0:1.2.11-31.el9_0.1 | RHSA-2022:4584 |
| Red Hat | enterprise_linux:9::crb | mingw-zlib, mingw32-zlib, mingw64-zlib and 4 more | 0:1.2.12-2.el9 | RHSA-2022:8420 |
| 14 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 21 more | zlib | 1.2.11-150000.3.30.1 | SUSE-SU-2022:1061-1 |
| SUSE | Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 more | mariadb | 10.4.26-150200.3.31.1 | SUSE-SU-2022:3225-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 4 more | zlib | 1.2.8-12.6.1 | SUSE-SU-2022:1043-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1 | mariadb104 | 10.4.30-150100.3.5.10 | SUSE-RU-2023:3956-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1 | python-mysqlclient | 1.4.6-150100.3.3.7 | SUSE-RU-2023:3956-1 |
| SUSE | Linux Enterprise Micro 5.2 | zlib | 1.2.11-150000.3.30.1 | SUSE-SU-2022:1061-2 |
| SUSE | Linux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSS | zlib | 1.2.7-0.17.3.1 | SUSE-SU-2022:14929-1 |
| SUSE | Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 more | zlib | 1.2.11-3.6.1 | SUSE-SU-2022:1062-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | lz4 | 1.8.0-3.5.2 | SUSE-RU-2023:4991-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | mariadb-connector-c | 3.1.22-2.35.1 | SUSE-RU-2023:4991-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | mariadb104 | 10.4.30-8.5.46 | SUSE-RU-2023:4991-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | python-mysqlclient | 1.3.14-8.9.2 | SUSE-RU-2023:4991-1 |
| 2 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.3 | zlib | 1.2.11-150000.3.30.1 | openSUSE-SU-2022:1061-1 |
| openSUSE | Leap 15.4 | mupdf | 1.20.3-bp154.2.3.1 | openSUSE-SU-2022:10126-1 |
| openSUSE | Tumbleweed | freetype2 | 2.12.1-1.1 | openSUSE-SU-2024:12042-1 |
| openSUSE | Tumbleweed | ghostscript | 10.02.1-1.1 | openSUSE-SU-2024:13629-1 |
| openSUSE | Tumbleweed | mariadb | 10.9.3-1.1 | openSUSE-SU-2024:12360-1 |
| openSUSE | Tumbleweed | mupdf | 1.19.1-1.1 | openSUSE-SU-2024:12021-1 |
| openSUSE | Tumbleweed | perl-Compress-Raw-Zlib | 2.213-1.1 | openSUSE-SU-2025:14656-1 |
| openSUSE | Tumbleweed | python39 | 3.9.13-1.1 | openSUSE-SU-2024:12097-1 |
| openSUSE | Tumbleweed | ruby3.2-rubygem-nokogiri | 1.13.9-1.7 | openSUSE-SU-2024:13165-1 |
| openSUSE | Tumbleweed | rubygem-nokogiri | 1.13.4-1.1 | openSUSE-SU-2024:11999-1 |
| openSUSE | Tumbleweed | rubygem-nokogiri | 1.15.5-1.5 | openSUSE-SU-2024:14174-1 |
| openSUSE | Tumbleweed | rubygem-nokogiri | 1.18.2-1.1 | openSUSE-SU-2025:14697-1 |
| 1 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | mingw32-zlib, mingw64-zlib, mingw32-zlib-static and 1 more | 1.2.8-10.el8 | ALSA-2022:7813 |
| AlmaLinux | 8 | rsync, rsync-daemon | 3.1.3-14.el8 | ALSA-2022:2201 |
| AlmaLinux | 8 | zlib, zlib-devel, zlib-static | 1.2.11-18.el8_5 | ALSA-2022:1642 |
| AlmaLinux | 9 | mingw32-zlib, mingw64-zlib, mingw32-zlib-static and 1 more | 1.2.12-2.el9 | ALSA-2022:8420 |
| Rocky Linux | 8 | mingw-zlib | 0:1.2.8-10.el8 | RLSA-2022:7813 |
| Rocky Linux | 8 | rsync | 0:3.1.3-14.el8_6.2 | RLSA-2022:2201 |
| Rocky Linux | 8 | zlib | 0:1.2.11-18.el8_5 | RLSA-2022:1642 |
| Alpine | v3.12, v3.13, v3.14 | zlib | 1.2.12-r0 | ALPINE-CVE-2018-25032 |
| Alpine | v3.13, v3.14 | mariadb | 10.5.17-r0 | ALPINE-CVE-2018-25032 |
| Alpine | v3.15 | zlib, minizip | 1.2.12-r0 | ALPINE-CVE-2018-25032 |
| Alpine | v3.15, v3.16, v3.17 and 7 more | mariadb | 10.6.9-r0 | ALPINE-CVE-2018-25032 |
| Alpine | v3.16, v3.17, v3.18 and 6 more | minizip | 1.2.12-r0 | ALPINE-CVE-2018-25032 |
| Alpine | v3.16, v3.17, v3.18 and 6 more | zlib | 1.2.11-r4 | ALPINE-CVE-2018-25032 |
| Azure Linux | 2 | boost | 1.76.0-3 | AZL-26135 |
| Azure Linux | 2 | cloud-hypervisor-cvm | 38.0.72.2-1 | AZL-42715 |
| Azure Linux | 2 | clucene | no fix listed | AZL-43675 |
| Azure Linux | 2 | fltk | no fix listed | AZL-43990 |
| Azure Linux | 2 | gpsbabel | no fix listed | AZL-43678 |
| Azure Linux | 2 | nmap | 7.93-1 | AZL-26156 |
| Azure Linux | 2 | openjpeg2 | no fix listed | AZL-43753 |
| Azure Linux | 2 | tcl | 8.6.13-1 | AZL-26164 |
| Azure Linux | 2 | zlib | 1.2.12-1 | AZL-9143 |
| Azure Linux | 3 | cloud-hypervisor-cvm | 38.0.72.2-1 | AZL-42759 |
| Azure Linux | 3 | clucene | no fix listed | AZL-44181 |
| Azure Linux | 3 | fltk | no fix listed | AZL-45231 |
| 3 more for Azure Linux in the JSON. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
This bug was introduced in zlib v1.2.2.2 through zlib v1.2.11, with the addition of the Z_FIXED option, which forces the use of fixed Huffman codes, rather than dynamic Huffman codes, allowing for a simpler decoder for special applications.
This bug is difficult to trigger, as Z_FIXED is usually only used in special circumstances.
Rsync does the compression in-transit using zlib. As rsync uses vulnerable zlib v1.2.8 package, which incorrectly handles memory when performing certain zlib compressing or deflating operations. This results in rsync to crash.
Note - The issue wasn't publicly labelled as security vulnerability until 2022, but the fix was public since 2018.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 Extended Lifecycle Support | zlib-0:1.2.3-31.el6_10 | Fixed 2022-05-11 | RHSA-2022:2214 |
| Red Hat Enterprise Linux 7 | zlib-0:1.2.7-20.el7_9 | Fixed 2022-05-11 | RHSA-2022:2213 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | zlib-0:1.2.7-17.el7_4.1 | Fixed 2023-02-28 | RHSA-2023:0976 |
| Red Hat Enterprise Linux 7.6 Advanced Update Support | zlib-0:1.2.7-18.el7_6.1 | Fixed 2023-02-28 | RHSA-2023:0975 |
| Red Hat Enterprise Linux 7.7 Advanced Update Support | zlib-0:1.2.7-18.el7_7.1 | Fixed 2023-02-28 | RHSA-2023:0943 |
| Red Hat Enterprise Linux 7.7 Telco Extended Update Support | zlib-0:1.2.7-18.el7_7.1 | Fixed 2023-02-28 | RHSA-2023:0943 |
| Red Hat Enterprise Linux 7.7 Update Services for SAP Solutions | zlib-0:1.2.7-18.el7_7.1 | Fixed 2023-02-28 | RHSA-2023:0943 |
| Red Hat Enterprise Linux 8 | mingw-zlib-0:1.2.8-10.el8 | Fixed 2022-11-08 | RHSA-2022:7813 |
| Red Hat Enterprise Linux 8 | zlib-0:1.2.11-18.el8_5 | Fixed 2022-04-28 | RHSA-2022:1642 |
| Red Hat Enterprise Linux 8 | rsync-0:3.1.3-14.el8_6.2 | Fixed 2022-05-11 | RHSA-2022:2201 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | zlib-0:1.2.11-11.el8_1.1 | Fixed 2022-04-26 | RHSA-2022:1591 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | rsync-0:3.1.3-6.el8_1.1 | Fixed 2022-05-11 | RHSA-2022:2197 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | zlib-0:1.2.11-17.el8_2 | Fixed 2022-05-02 | RHSA-2022:1661 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | rsync-0:3.1.3-7.el8_2.1 | Fixed 2022-05-11 | RHSA-2022:2192 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | rsync-0:3.1.3-12.el8_4.1 | Fixed 2022-05-11 | RHSA-2022:2198 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | zlib-0:1.2.11-18.el8_4 | Fixed 2022-05-31 | RHSA-2022:4845 |
| Red Hat Enterprise Linux 9 | zlib-0:1.2.11-31.el9_0.1 | Fixed 2022-05-17 | RHSA-2022:4584 |
| Red Hat Enterprise Linux 9 | rsync-0:3.2.3-9.el9_0.1 | Fixed 2022-05-18 | RHSA-2022:4592 |
| Red Hat Enterprise Linux 9 | mingw-zlib-0:1.2.12-2.el9 | Fixed 2022-11-15 | RHSA-2022:8420 |
| Red Hat JBoss Core Services | zlib | Fixed 2022-10-26 | RHSA-2022:7144 |
| 2 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-25032.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-26-202-06 | Siemens CADRA | 2026-07-14 | Chemical, Commercial Facilities, Communications, Energy | CADRA < V2511 | none listed |
| ICSA-23-348-10 | Siemens SIMATIC S7-1500 | 2023-12-12 | Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilities | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more | none listed |
| ICSA-23-166-12 | Siemens SINAMICS Medium Voltage Products | 2023-06-13 | Multiple | SINAMICS PERFECT HARMONY GH180 6SR5 | none listed |
| ICSA-23-075-01 | Siemens SCALANCE, RUGGEDCOM Third-Party | 2023-03-14 | Multiple | RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2), SCALANCE M804PB (6GK5804-0AP00-2AA2) and 17 more | none listed |
| ICSA-23-080-07 | Siemens SCALANCE Third-Party | 2023-03-14 | Multiple | SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM766-1 (EU) (6GK5766-1GE00-7DA0), SCALANCE WAM766-1 (US) (6GK5766-1GE00-7DB0) and 6 more | none listed |
| ICSA-22-349-18 | Siemens SCALANCE SC-600 Family | 2022-12-13 | Multiple | SCALANCE SC622-2C (6GK5622-2GS00-2AC2), SCALANCE SC626-2C (6GK5626-2GS00-2AC2), SCALANCE SC632-2C (6GK5632-2GS00-2AC2) and 3 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.