synced 12 MIN AGO
01 Record

CVE-2018-25032

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

HighPUBLISHEDCNA: mitre
CNA base score7.5 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

02 Description

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

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
51.73% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 98.8% of scored records. A rank, not a probability.
NVD base score
7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-10-14.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-03-25 00:00Z4 YR AGO
Last updated
2026-10-14 06:35Z15 DAYS AGO
Reserved
2022-03-25
Assigning CNA
mitre
Record state
PUBLISHED
Severity
High (CVSS 7.5)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
  • CWE-787Out-of-bounds WriteBase
  • CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferClass
Data version
5.2
Document digest
e6e6336b05c61299d011e9cd662bbccd81075be3386047313e548fa30ee0b906

05 Affected products

VendorProductVersionsPlatforms
applemac_os_xNot specified—
applemacosNot specified—
azulzuluNot specified—
debiandebian_linuxNot specified—
fedoraprojectfedoraNot specified—
gotogotoassistNot specified—
mariadbmariadbNot specified—
microsoftwindowsNot specified—
netappactive_iq_unified_managerNot specified—
netappe-series_santricity_os_controllerNot specified—
netapph300sNot specified—
netapph300s_firmwareNot specified—
netapph410cNot specified—
netapph410c_firmwareNot specified—
netapph410sNot specified—
netapph410s_firmwareNot specified—
netapph500sNot specified—
netapph500s_firmwareNot specified—
netapph700sNot specified—
netapph700s_firmwareNot specified—
netapphci_compute_nodeNot specified—
netapponcommand_workflow_automationNot specified—
nokogirinokogiriNot specified—
pythonpythonNot specified—
redhatenterprise_linuxNot specified—
redhatjboss_core_servicesNot specified—
redhatrhel_ausNot specified—
redhatrhel_e4sNot specified—
redhatrhel_elsNot specified—
redhatrhel_eusNot specified—
redhatrhel_tusNot specified—
redhatrhev_hypervisorNot specified—
siemensscalance_sc622-2cNot specified—
siemensscalance_sc622-2c_firmwareNot specified—
siemensscalance_sc626-2cNot specified—
siemensscalance_sc626-2c_firmwareNot specified—
siemensscalance_sc632-2cNot specified—
siemensscalance_sc632-2c_firmwareNot specified—
siemensscalance_sc636-2cNot specified—
siemensscalance_sc636-2c_firmwareNot specified—
siemensscalance_sc642-2cNot specified—
siemensscalance_sc642-2c_firmwareNot specified—
siemensscalance_sc646-2cNot specified—
siemensscalance_sc646-2c_firmwareNot specified—
zlibzlibNot specified—

06 References

07 Fixed in

AlmaLinux 8

  • mingw32-zlib
    Fixed in 1.2.8-10.el8
  • mingw32-zlib-static
    Fixed in 1.2.8-10.el8
  • mingw64-zlib
    Fixed in 1.2.8-10.el8
  • mingw64-zlib-static
    Fixed in 1.2.8-10.el8
  • rsync
    Fixed in 3.1.3-14.el8
  • rsync-daemon
    Fixed in 3.1.3-14.el8
  • zlib
    Fixed in 1.2.11-18.el8_5
  • zlib-devel
    Fixed in 1.2.11-18.el8_5
  • zlib-static
    Fixed in 1.2.11-18.el8_5

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • mingw32-zlib
    Fixed in 1.2.12-2.el9
  • mingw32-zlib-static
    Fixed in 1.2.12-2.el9
  • mingw64-zlib
    Fixed in 1.2.12-2.el9
  • mingw64-zlib-static
    Fixed in 1.2.12-2.el9

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Arch Linux

  • zlib
    Fixed in 1:1.2.12-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

CloudLinux 8

  • mingw32-zlib
    Fixed in 1.2.8-10.el8
  • mingw32-zlib-static
    Fixed in 1.2.8-10.el8
  • mingw64-zlib
    Fixed in 1.2.8-10.el8
  • mingw64-zlib-static
    Fixed in 1.2.8-10.el8
  • rsync
    Fixed in 3.1.3-14.el8
  • rsync-daemon
    Fixed in 3.1.3-14.el8
  • zlib
    Fixed in 1.2.11-18.el8_5
  • zlib-devel
    Fixed in 1.2.11-18.el8_5
  • zlib-static
    Fixed in 1.2.11-18.el8_5

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • mingw32-zlib
    Fixed in 1.2.12-2.el9
  • mingw32-zlib-static
    Fixed in 1.2.12-2.el9
  • mingw64-zlib
    Fixed in 1.2.12-2.el9
  • mingw64-zlib-static
    Fixed in 1.2.12-2.el9

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • libz-mingw-w64
    Fixed in 1.2.11+dfsg-5
  • zlib
    Fixed in 1:1.2.11.dfsg-4

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • libz-mingw-w64
    Fixed in 1.2.11+dfsg-5
  • zlib
    Fixed in 1:1.2.11.dfsg-4

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • libz-mingw-w64
    Fixed in 1.2.11+dfsg-5
  • zlib
    Fixed in 1:1.2.11.dfsg-4

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • rsync
    Fixed in 3.1.2-2.1ubuntu1.4
  • zlib
    Fixed in 1:1.2.11.dfsg-0ubuntu2.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • klibc
    Fixed in 2.0.7-1ubuntu5.2
  • mariadb-10.3
    Fixed in 1:10.3.37-0ubuntu0.20.04.1
  • rsync
    Fixed in 3.1.3-8ubuntu0.3
  • zlib
    Fixed in 1:1.2.11.dfsg-2ubuntu1.3

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • klibc
    Fixed in 2.0.10-4ubuntu0.1
  • mariadb-10.6
    Fixed in 1:10.6.11-0ubuntu0.22.04.1
  • zlib
    Fixed in 1:1.2.11.dfsg-2ubuntu9

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • klibc
    Fixed in 2.0.13-4ubuntu0.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • klibc
    Fixed in 2.0.3-0ubuntu1.14.04.3+esm3
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • zlib
    Fixed in 1:1.2.8.dfsg-1ubuntu1.1+esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • klibc
    Fixed in 2.0.4-8ubuntu1.16.04.4+esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • rsync
    Fixed in 3.1.1-3ubuntu1.3+esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • zlib
    Fixed in 1:1.2.8.dfsg-2ubuntu4.3+esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • klibc
    Fixed in 2.0.4-9ubuntu2.2+esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.