Skip to content
Fencer Intel
high 7.5

CVE-2018-25032 in the critical feed json

Nokogiri affected by zlib's Out-of-bounds Write vulnerability

published 4y ago modified 26d ago also EUVD-2022-1454 , GHSA-jc36-42cf-vqwj , JLSEC-2026-477

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
51.7%
EPSS 51.7% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known

Summary

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

Patch / fix

  • rubygems nokogiri 1.13.4
  • julia Openresty_jll 1.21.4+0
  • julia Python_jll 3.10.14+0
  • julia Zlib_jll 1.2.12+3
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • zlib Debian 14, Debian 13, Debian 12 1:1.2.11.dfsg-4
  • libz-mingw-w64 Debian 14, Debian 13, Debian 12 1.2.11+dfsg-5

debian advisories DEBIAN-CVE-2018-25032

  • zlib Ubuntu 18.04 LTS 1:1.2.11.dfsg-0ubuntu2.1
  • zlib Ubuntu 20.04 LTS 1:1.2.11.dfsg-2ubuntu1.3
  • zlib Ubuntu 22.04 LTS 1:1.2.11.dfsg-2ubuntu9
  • klibc Ubuntu 20.04 LTS 2.0.7-1ubuntu5.2
  • klibc Ubuntu 22.04 LTS 2.0.10-4ubuntu0.1
  • klibc Ubuntu 24.04 LTS 2.0.13-4ubuntu0.1
  • rsync Ubuntu 18.04 LTS 3.1.2-2.1ubuntu1.4
  • rsync Ubuntu 20.04 LTS 3.1.3-8ubuntu0.3

ubuntu advisories UBUNTU-CVE-2018-25032

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • redhat-virtualization-host rhev hypervisor 4.4 4.5.0-202205291010_8.6
  • redhat-virtualization-host-image-update rhev hypervisor 4.4 4.5.0-202205291010_8.6
  • redhat-virtualization-host RHEL 7 4.3.23-20220622.0.el7_9
  • redhat-virtualization-host-image-update RHEL 7 4.3.23-20220622.0.el7_9
  • mingw-zlib RHEL 9 1.2.12-2.el9
  • mingw32-zlib RHEL 9 1.2.12-2.el9
  • mingw64-zlib RHEL 9 1.2.12-2.el9
  • mingw-zlib RHEL 8 1.2.8-10.el8

red hat advisories RHSA-2022:4896RHSA-2022:5439RHSA-2022:8420RHSA-2022:7813RHSA-2022:2198RHSA-2022:2201

  • mariadb104 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 10.4.30-8.5.46
  • lz4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0-3.5.2
  • python-mysqlclient SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.14-8.9.2
  • mariadb-connector-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.22-2.35.1
  • mariadb SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 10.4.26-150200.3.31.1
  • zlib SLES 15 SP2-BCL, SLES 15 SP1-BCL, SLE Real Time 15 SP2 +22 more 1.2.11-150000.3.30.1
  • zlib SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 1.2.11-3.6.1
  • zlib SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 1.2.7-0.17.3.1

suse advisories SUSE-RU-2023:4991-1SUSE-RU-2023:3956-1SUSE-SU-2022:3225-1SUSE-SU-2022:1061-2SUSE-SU-2022:1062-1SUSE-SU-2022:14929-1

  • rubygem-nokogiri openSUSE Tumbleweed 1.18.9-1.4
  • rubygem-nokogiri openSUSE Tumbleweed 1.18.2-1.1
  • perl-Compress-Raw-Zlib openSUSE Tumbleweed 2.213-1.1
  • rubygem-nokogiri openSUSE Tumbleweed 1.15.5-1.5
  • rubygem-nokogiri openSUSE Tumbleweed 1.13.4-1.1
  • mupdf openSUSE Tumbleweed 1.19.1-1.1
  • freetype2 openSUSE Tumbleweed 2.12.1-1.1
  • python39 openSUSE Tumbleweed 3.9.13-1.1

opensuse advisories openSUSE-SU-2026:10356-1openSUSE-SU-2025:14697-1openSUSE-SU-2025:14656-1openSUSE-SU-2024:14174-1openSUSE-SU-2024:11999-1openSUSE-SU-2024:12021-1

  • mingw32-zlib AlmaLinux 9 1.2.12-2.el9
  • mingw64-zlib AlmaLinux 9 1.2.12-2.el9
  • mingw32-zlib AlmaLinux 8 1.2.8-10.el8
  • mingw64-zlib AlmaLinux 8 1.2.8-10.el8
  • rsync AlmaLinux 8 3.1.3-14.el8
  • rsync-daemon AlmaLinux 8 3.1.3-14.el8
  • zlib AlmaLinux 8 1.2.11-18.el8_5

almalinux advisories ALSA-2022:8420ALSA-2022:7813ALSA-2022:2201ALSA-2022:1642

  • mingw-zlib Rocky Linux 8 1.2.8-10.el8
  • rsync Rocky Linux 8 3.1.3-14.el8_6.2
  • zlib Rocky Linux 8 1.2.11-18.el8_5

rocky linux advisories RLSA-2022:7813RLSA-2022:2201RLSA-2022:1642

  • zlib Alpine 3.15, Alpine 3.14, Alpine 3.13 +1 more 1.2.12-r0
  • zlib Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.2.11-r4
  • mariadb Alpine 3.14, Alpine 3.13 10.5.17-r0
  • mariadb Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 10.6.9-r0
  • minizip Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 1.2.12-r0

alpine advisories ALPINE-CVE-2018-25032

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • boost CBL-Mariner 2.0 1.76.0-3
  • nmap CBL-Mariner 2.0 7.93-1
  • tcl CBL-Mariner 2.0 8.6.13-1
  • cloud-hypervisor-cvm CBL-Mariner 2.0, Azure Linux 3.0 38.0.72.2-1
  • teckit Azure Linux 3.0 2.5.12-4
  • zlib CBL-Mariner 2.0 1.2.12-1

azure linux advisories AZL-26135AZL-26156AZL-26164AZL-42715AZL-42759AZL-45177

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • zlib Arch Linux 1:1.2.12-1

arch linux advisories AVG-2657

Is CVE-2018-25032 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-25032 updated cvss 8.2

zlib: A flaw found in zlib when compressing (not decompressing) certain inputs

  • Red Hat CodeReady Linux Builder (v. 8) mingw-zlib 1.2.8-10.el8, mingw32-zlib 1.2.8-10.el8, mingw64-zlib 1.2.8-10.el8
    fixed: vendor fix RHSA-2022:1642
  • Red Hat CodeReady Linux Builder (v. 9) mingw-zlib 1.2.12-2.el9, mingw32-zlib 1.2.12-2.el9, mingw64-zlib 1.2.12-2.el9
    fixed: vendor fix RHSA-2022:4584
  • Red Hat CodeReady Linux Builder EUS (v. 8.2) zlib-static 1.2.11-17.el8_2, zlib-debuginfo 1.2.11-17.el8_2, zlib-debugsource 1.2.11-17.el8_2
    fixed: vendor fix RHSA-2022:1661
  • Red Hat Enterprise Linux AppStream (v. 9) rsync-daemon 3.2.3-9.el9_0.1
    fixed: vendor fix RHSA-2022:4584
  • Red Hat Enterprise Linux BaseOS (v. 8) zlib 1.2.11-18.el8_5, rsync 3.1.3-14.el8_6.2, rsync-daemon 3.1.3-14.el8_6.2
    fixed: vendor fix RHSA-2022:1642
  • Red Hat Enterprise Linux BaseOS (v. 9) rsync 3.2.3-9.el9_0.1, zlib 1.2.11-31.el9_0.1
    fixed: vendor fix RHSA-2022:4584
  • Red Hat Enterprise Linux BaseOS E4S (v. 8.1) rsync 3.1.3-6.el8_1.1, zlib 1.2.11-11.el8_1.1, rsync-daemon 3.1.3-6.el8_1.1
    fixed: vendor fix RHSA-2022:2197
  • Red Hat Enterprise Linux BaseOS EUS (v. 8.2) zlib 1.2.11-17.el8_2, rsync 3.1.3-7.el8_2.1, rsync-daemon 3.1.3-7.el8_2.1
    fixed: vendor fix RHSA-2022:2192
show 19 more
  • Red Hat Enterprise Linux BaseOS EUS (v.8.4) zlib 1.2.11-18.el8_4, rsync 3.1.3-12.el8_4.1, rsync-daemon 3.1.3-12.el8_4.1
    fixed: vendor fix RHSA-2022:2198
  • Red Hat Enterprise Linux Client (v. 7) zlib 1.2.7-20.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) minizip 1.2.7-20.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) minizip 1.2.7-20.el7_9
    fixed: vendor fix RHSA-2022:2213
  • Red Hat Enterprise Linux CRB EUS (v.8.4) zlib-static 1.2.11-18.el8_4, zlib-debuginfo 1.2.11-18.el8_4, zlib-debugsource 1.2.11-18.el8_4
    fixed: vendor fix RHSA-2022:4845
  • Red Hat Enterprise Linux Server (v. 6 ELS) zlib 1.2.3-31.el6_10
    fixed: vendor fix RHSA-2022:2214
  • Red Hat Enterprise Linux Server (v. 7) zlib 1.2.7-20.el7_9
    fixed: vendor fix RHSA-2022:2213
  • Red Hat Enterprise Linux Server AUS (v. 7.4) zlib 1.2.7-17.el7_4.1
    fixed: vendor fix RHSA-2023:0976
  • Red Hat Enterprise Linux Server AUS (v. 7.6) zlib 1.2.7-18.el7_6.1
    fixed: vendor fix RHSA-2023:0975
  • Red Hat Enterprise Linux Server AUS (v. 7.7) zlib 1.2.7-18.el7_7.1 Red Hat Enterprise Linux Server E4S (v. 7.7) zlib 1.2.7-18.el7_7.1
    fixed: vendor fix RHSA-2023:0943
  • Red Hat Enterprise Linux Server Optional (v. 6 ELS) minizip 1.2.3-31.el6_10
    fixed: vendor fix RHSA-2022:2214
  • Red Hat Enterprise Linux Server Optional (v. 7) minizip 1.2.7-20.el7_9
    fixed: vendor fix RHSA-2022:2213
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.4) minizip 1.2.7-17.el7_4.1
    fixed: vendor fix RHSA-2023:0976
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.6) minizip 1.2.7-18.el7_6.1
    fixed: vendor fix RHSA-2023:0975
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.7) minizip 1.2.7-18.el7_7.1 Red Hat Enterprise Linux Server Optional E4S (v. 7.7) minizip 1.2.7-18.el7_7.1 Red Hat Enterprise Linux Server Optional TUS (v. 7.7) minizip 1.2.7-18.el7_7.1 Red Hat Enterprise Linux Server TUS (v. 7.7) zlib 1.2.7-18.el7_7.1
    fixed: vendor fix RHSA-2023:0943
  • Red Hat Enterprise Linux Workstation (v. 7) zlib 1.2.7-20.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) minizip 1.2.7-20.el7_9
    fixed: vendor fix RHSA-2022:2213
  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2022:7144
  • Red Hat Virtualization 4 Hypervisor for RHEL 7 redhat-virtualization-host 4.3.23-20220622.0.el7_9, redhat-virtualization-host-image-update 4.3.23-20220622.0.el7_9
    fixed: vendor fix RHSA-2022:5439
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host 4.5.0-202205291010_8.6, redhat-virtualization-host-image-update 4.5.0-202205291010_8.6
    fixed: vendor fix RHSA-2022:4896
  • Red Hat RHEL 7-based RHEV-H for RHEV 4 (build requirements) redhat-virtualization-host 4.3.23-20220622.0.el7_9, redhat-virtualization-host-image-update 4.3.23-20220622.0.el7_9
    fixed: vendor fix RHSA-2022:5439
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 elfutils 0.186-1.el8, elfutils-debuginfod-client 0.186-1.el8 Red Hat RHEL 7-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.3.23-1.el7ev, redhat-virtualization-host-productimg 4.3.23-1.el7, redhat-virtualization-host-image-update-placeholder 4.3.23-1.el7ev Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) imgbased 1.2.24-1.el8ev, ovirt-node-ng 4.4.2-1.el8ev, python3-imgbased 1.2.24-1.el8ev, ovirt-node-ng-nodectl 4.4.2-1.el8ev, python3-ovirt-node-ng-nodectl 4.4.2-1.el8ev, redhat-release-virtualization-host 4.5.0-5.el8ev, +3 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-202-06 updated cvss 7.5

Siemens CADRA

  • Siemens CADRA < 2511
    affected: fixed in V2511

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-23-348-10 updated cvss 7.5

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-23-166-12 updated cvss 7.5

Siemens SINAMICS Medium Voltage Products

  • Siemens SINAMICS PERFECT HARMONY GH180 6SR5
    affected: vendor fix, mitigation

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-23-075-01 updated cvss 7.5

Siemens SCALANCE, RUGGEDCOM Third-Party

  • Siemens RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2) <V7.2 Siemens RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2) <V7.2 Siemens SCALANCE M804PB (6GK5804-0AP00-2AA2) <V7.2 Siemens SCALANCE M812-1 ADSL-Router (Annex A) (6GK5812-1AA00-2AA2) <V7.2 Siemens SCALANCE M812-1 ADSL-Router (Annex B) (6GK5812-1BA00-2AA2) <V7.2 Siemens SCALANCE M816-1 ADSL-Router (Annex A) (6GK5816-1AA00-2AA2) <V7.2
    +14 more products
    Siemens SCALANCE M816-1 ADSL-Router (Annex B) (6GK5816-1BA00-2AA2) <V7.2 Siemens SCALANCE M826-2 SHDSL-Router (6GK5826-2AB00-2AB2) <V7.2 Siemens SCALANCE M874-2 (6GK5874-2AA00-2AA2) <V7.2 Siemens SCALANCE M874-3 (6GK5874-3AA00-2AA2) <V7.2 Siemens SCALANCE M876-3 (EVDO) (6GK5876-3AA02-2BA2) <V7.2 Siemens SCALANCE M876-3 (ROK) (6GK5876-3AA02-2EA2) <V7.2 Siemens SCALANCE M876-4 (6GK5876-4AA10-2BA2) <V7.2 Siemens SCALANCE M876-4 (EU) (6GK5876-4AA00-2BA2) <V7.2 Siemens SCALANCE M876-4 (NAM) (6GK5876-4AA00-2DA2) <V7.2 Siemens SCALANCE MUM853-1 (EU) (6GK5853-2EA00-2DA1) <V7.2 Siemens SCALANCE MUM856-1 (EU) (6GK5856-2EA00-3DA1) <V7.2 Siemens SCALANCE MUM856-1 (RoW) (6GK5856-2EA00-3AA1) <V7.2 Siemens SCALANCE S615 (6GK5615-0AA00-2AA2) <V7.2 Siemens SCALANCE S615 EEC (6GK5615-0AA01-2AA2) <V7.2
    affected: fixed in V7.2 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-23-080-07 updated cvss 7.5

Siemens SCALANCE Third-Party

  • Siemens SCALANCE WAM763-1 (6GK5763-1AL00-7DA0) <V2.0 Siemens SCALANCE WAM766-1 (EU) (6GK5766-1GE00-7DA0) <V2.0 Siemens SCALANCE WAM766-1 (US) (6GK5766-1GE00-7DB0) <V2.0 Siemens SCALANCE WAM766-1 EEC (EU) (6GK5766-1GE00-7TA0) <V2.0 Siemens SCALANCE WAM766-1 EEC (US) (6GK5766-1GE00-7TB0) <V2.0 Siemens SCALANCE WUM763-1 (6GK5763-1AL00-3AA0) <V2.0
    +3 more products
    Siemens SCALANCE WUM763-1 (6GK5763-1AL00-3DA0) <V2.0 Siemens SCALANCE WUM766-1 (EU) (6GK5766-1GE00-3DA0) <V2.0 Siemens SCALANCE WUM766-1 (US) (6GK5766-1GE00-3DB0) <V2.0
    affected: fixed in V2.0 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-22-349-18 updated cvss 7.5

Siemens SCALANCE SC-600 Family

  • Siemens SCALANCE SC622-2C (6GK5622-2GS00-2AC2) <V3.0 Siemens SCALANCE SC626-2C (6GK5626-2GS00-2AC2) <V3.0 Siemens SCALANCE SC632-2C (6GK5632-2GS00-2AC2) <V3.0 Siemens SCALANCE SC636-2C (6GK5636-2GS00-2AC2) <V3.0 Siemens SCALANCE SC642-2C (6GK5642-2GS00-2AC2) <V3.0 Siemens SCALANCE SC646-2C (6GK5646-2GS00-2AC2) <V3.0
    affected: fixed in V3.0 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
last yr.

Exploit prediction

51.73% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • openwall.com http://www.openwall.com/lists/oss-security/2022/03/26/1 referenced PoC, tagged "exploit" by a source, unverified
  • openwall.com https://www.openwall.com/lists/oss-security/2022/03/28/1 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
rubygems nokogiri
<1.13.4
1.13.4
julia GCCBootstrap_jll
all versions
no fix listed
julia Openresty_jll
<1.21.4+0
1.21.4+0
julia Python_jll
<3.10.14+0
3.10.14+0
julia Zlib_jll
<1.2.12+3
1.2.12+3

Affected products

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SINAMICS PERFECT HARMONY GH180
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.