cve.bz

CVE-2022-37434 Out-of-bounds Write

9.8 criticalExploit referenceEPSS 19%Fix available

Critical (9.8). EPSS 19% estimated probability of exploitation activity in the next 30 days.

On this page
zlib 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. NOTE: only applications that call inflateGetHeader are affected. Some common applications bundle the affected zlib source code but may be unable to call inflateGetHeader (e.g., see the nodejs/node reference).

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
19% (unchanged from 19% a week ago; 19% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-01-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-37434 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-37434?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-37434?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-2022-37434 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.

Badge for a README or a site

CVE-2022-37434

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-37434](https://cve.bz/cve/badge/CVE-2022-37434.svg)](https://cve.bz/cve/CVE-2022-37434)

HTML:

<a href="https://cve.bz/cve/CVE-2022-37434"><img src="https://cve.bz/cve/badge/CVE-2022-37434.svg" alt="CVE-2022-37434"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
zlib:zlibthrough 1.2.12
fedoraproject:fedora35
fedoraproject:fedora36
fedoraproject:fedora37
debian:debian_linux10.0
apple:ipadosbefore 15.7.1
apple:iphone_osbefore 15.7.1
apple:iphone_osfrom 16.0 before 16.1
apple:macosfrom 11.0 before 11.7.1
apple:macosfrom 12.0.0 before 12.6.1
apple:watchosbefore 9.1
stormshield:stormshield_network_securityfrom 3.7.31 before 3.7.34
stormshield:stormshield_network_securityfrom 3.11.0 before 3.11.22
stormshield:stormshield_network_securityfrom 4.3.0 before 4.3.16
stormshield:stormshield_network_securityfrom 4.6.0 before 4.6.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10zlib1:1.2.11.dfsg-1+deb10u2DLA-3103-1
Debian11zlib1:1.2.11.dfsg-2+deb11u2DSA-5218-1
Debian12, 13, 14libz-mingw-w641.2.12+dfsg-2DEBIAN-CVE-2022-37434
Debian12, 13, 14zlib1:1.2.11.dfsg-4.1DEBIAN-CVE-2022-37434
Ubuntu18.04:LTSrsync3.1.2-2.1ubuntu1.5UBUNTU-CVE-2022-37434 USN-5573-1
Ubuntu18.04:LTSzlib1:1.2.11.dfsg-0ubuntu2.2UBUNTU-CVE-2022-37434 USN-5570-1
Ubuntu20.04:LTSklibc2.0.7-1ubuntu5.2UBUNTU-CVE-2022-37434 USN-6736-1
Ubuntu20.04:LTSrsync3.1.3-8ubuntu0.4UBUNTU-CVE-2022-37434 USN-5573-1
Ubuntu20.04:LTSzlib1:1.2.11.dfsg-2ubuntu1.5UBUNTU-CVE-2022-37434 USN-5570-2
Ubuntu22.04:LTSklibc2.0.10-4ubuntu0.1UBUNTU-CVE-2022-37434 USN-6736-1
Ubuntu22.04:LTSzlib1:1.2.11.dfsg-2ubuntu9.2UBUNTU-CVE-2022-37434 USN-5570-2
Ubuntu24.04:LTSklibc2.0.13-4ubuntu0.1UBUNTU-CVE-2022-37434 USN-6736-2
UbuntuPro:14.04:LTSklibc2.0.3-0ubuntu1.14.04.3+esm3UBUNTU-CVE-2022-37434 USN-6736-1
UbuntuPro:14.04:LTSzlib1:1.2.8.dfsg-1ubuntu1.1+esm2UBUNTU-CVE-2022-37434 USN-5570-1
UbuntuPro:16.04:LTSklibc2.0.4-8ubuntu1.16.04.4+esm2UBUNTU-CVE-2022-37434 USN-6736-1
UbuntuPro:16.04:LTSrsync3.1.1-3ubuntu1.3+esm2UBUNTU-CVE-2022-37434 USN-5573-1
2 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationzlib, minizip, zlib-devel and 3 more0:1.2.7-21.el7_9RHSA-2023:1095
Red Hatenterprise_linux:7::computenodeminizip, zlib-devel, zlib-static and 2 more0:1.2.7-21.el7_9RHSA-2023:1095
Red Hatenterprise_linux:8::baseosrsync, rsync-daemon, rsync-debuginfo and 1 more0:3.1.3-19.el8RHSA-2022:7793
Red Hatenterprise_linux:8::baseoszlib, zlib-devel, zlib-debuginfo and 1 more0:1.2.11-19.el8_6RHSA-2022:7106
Red Hatenterprise_linux:8::crbzlib-static, zlib-debuginfo, zlib-debugsource0:1.2.11-19.el8_6RHSA-2022:7106
Red Hatenterprise_linux:9::appstreamrsync-daemon0:3.2.3-18.el9RHSA-2022:8291
Red Hatenterprise_linux:9::appstreamzlib-devel, zlib-debuginfo, zlib-debugsource and 1 more0:1.2.11-32.el9_0RHSA-2022:7314
Red Hatenterprise_linux:9::baseosrsync, rsync-debuginfo, rsync-debugsource0:3.2.3-18.el9RHSA-2022:8291
Red Hatenterprise_linux:9::baseoszlib, zlib-debuginfo, zlib-debugsource and 1 more0:1.2.11-32.el9_0RHSA-2022:7314
Red Hatenterprise_linux:9::crbzlib-static, zlib-debuginfo, zlib-debugsource and 1 more0:1.2.11-32.el9_0RHSA-2022:7314
Red Hatrhel_eus:8.6::baseosrsync, rsync-daemon, rsync-debuginfo and 1 more0:3.1.3-14.el8_6.5RHSA-2024:0254
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 22 morezlib1.2.11-150000.3.33.1SUSE-SU-2022:2947-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCLzlib1.2.8-12.9.1SUSE-SU-2022:2845-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 morezlib1.2.11-3.9.1SUSE-SU-2022:2846-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5zlib1.2.11-11.22.1SUSE-SU-2022:2847-1
SUSEPackage Hub 15 SP4vlc3.0.20-bp154.2.6.1openSUSE-SU-2023:0365-1
SUSEPackage Hub 15 SP5vlc3.0.20-bp155.2.3.1openSUSE-SU-2023:0366-1
openSUSELeap 15.3, Leap 15.4zlib1.2.11-150000.3.33.1SUSE-SU-2022:2947-1
openSUSELeap 15.4vlc3.0.20-bp154.2.6.1openSUSE-SU-2023:0365-1
openSUSELeap 15.5vlc3.0.20-bp155.2.3.1openSUSE-SU-2023:0366-1
openSUSELeap Micro 5.2zlib1.2.11-150000.3.33.1openSUSE-SU-2022:2947-1
openSUSETumbleweedlibqt5-qtbase5.15.6+kde177-1.1openSUSE-SU-2024:12367-1
openSUSETumbleweedrsync3.2.5-1.1openSUSE-SU-2024:12270-1
openSUSETumbleweedrusty_v80.106.0-1.1openSUSE-SU-2024:14386-1
openSUSETumbleweedvlc3.0.19-1.1openSUSE-SU-2024:13367-1
AlmaLinux8rsync, rsync-daemon3.1.3-19.el8ALSA-2022:7793
AlmaLinux8zlib, zlib-devel, zlib-static1.2.11-19.el8_6ALSA-2022:7106
AlmaLinux9rsync, rsync-daemon3.2.3-18.el9ALSA-2022:8291
AlmaLinux9zlib, zlib-devel, zlib-static1.2.11-32.el9_0ALSA-2022:7314
Rocky Linux8rsync0:3.1.3-19.el8RLSA-2022:7793
Rocky Linux8zlib0:1.2.11-19.el8_6RLSA-2022:7106
Rocky Linux9rsync0:3.2.3-18.el9RLSA-2022:8291
Rocky Linux9zlib0:1.2.11-32.el9_0RLSA-2022:7314
Alpinev3.11zlib1.2.11-r4ALPINE-CVE-2022-37434
Alpinev3.12, v3.13, v3.14 and 10 morezlib1.2.12-r2ALPINE-CVE-2022-37434
Alpinev3.17, v3.18, v3.19 and 5 morezlib-ng2.0.6-r0ALPINE-CVE-2022-37434
Azure Linux2ogdino fix listedAZL-43906
Azure Linux2zlib1.2.12-2AZL-10470
Azure Linux3cloud-hypervisor-cvm38.0.72.2-1AZL-42760
Azure Linux3cluceneno fix listedAZL-45096
Azure Linux3crash8.0.4-2AZL-41380
Azure Linux3deltarpmno fix listedAZL-44358
Azure Linux3fltkno fix listedAZL-44991
Azure Linux3gdalno fix listedAZL-44121
Azure Linux3gpsbabelno fix listedAZL-45276
Azure Linux3ogdino fix listedAZL-44136
Azure Linux3openjpeg2no fix listedAZL-44268
Azure Linux3teckit2.5.12-4AZL-44769

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

Red Hat rates this Moderate.

Red Hat's statement

While some Red Hat Products bundle the affected zlib source code, in many cases it is not possible for an attacker to trigger the vulnerable function.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7zlib-0:1.2.7-21.el7_9Fixed 2023-03-07RHSA-2023:1095
Red Hat Enterprise Linux 8zlib-0:1.2.11-19.el8_6Fixed 2022-10-25RHSA-2022:7106
Red Hat Enterprise Linux 8rsync-0:3.1.3-19.el8Fixed 2022-11-08RHSA-2022:7793
Red Hat Enterprise Linux 8.6 Extended Update Supportrsync-0:3.1.3-14.el8_6.5Fixed 2024-01-15RHSA-2024:0254
Red Hat Enterprise Linux 9zlib-0:1.2.11-32.el9_0Fixed 2022-11-02RHSA-2022:7314
Red Hat Enterprise Linux 9rsync-0:3.2.3-18.el9Fixed 2022-11-15RHSA-2022:8291
Red Hat JBoss Core ServiceszlibFixed 2022-12-08RHSA-2022:8841
Red Hat build of QuarkusrocksdbjniWill not fix
Red Hat Enterprise Linux 6zlibOut of support scope

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-2022-37434.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-202-06Siemens CADRA2026-07-14Chemical, Commercial Facilities, Communications, EnergyCADRA < V2511none listed
ICSA-25-105-08ABB M2M Gateway2025-04-07EnergyABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3, ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3none listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC 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 morenone listed
ICSA-23-320-12Siemens PNI2023-11-14MultipleSINEC PNInone listed
ICSA-23-194-04Siemens SIMATIC MV500 Devices2023-07-11MultipleSIMATIC MV540 H (6GF3540-0GE10), SIMATIC MV540 S (6GF3540-0CD10), SIMATIC MV550 H (6GF3550-0GE10) and 3 morenone listed
ICSA-23-005-03Hitachi Energy Lumada Asset Performance Management2023-01-05EnergyLumada Asset Performance Management (APM): Lumada APM: Version 6.5.0.0, Lumada Asset Performance Management (APM): Lumada APM: Versions 6.1.0.0 through 6.4.0.0 (CVE-2022-37434 only)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.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON