Description
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).
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libz-mingw-w64 | 1.2.12+dfsg-2 | — |
| Debian 14 | zlib | 1:1.2.11.dfsg-4.1 | — |
| Debian 13 | libz-mingw-w64 | 1.2.12+dfsg-2 | — |
| Debian 13 | zlib | 1:1.2.11.dfsg-4.1 | — |
| Debian 12 | libz-mingw-w64 | 1.2.12+dfsg-2 | — |
| Debian 12 | zlib | 1:1.2.11.dfsg-4.1 | — |
| Debian 11 | zlib | 1:1.2.11.dfsg-2+deb11u2 | DSA-5218-1 |
| Debian 10 | zlib | 1:1.2.11.dfsg-1+deb10u2 | DLA-3103-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | klibc | 2.0.13-4ubuntu0.1 | USN-6736-2 |
| Ubuntu 22.04 LTS | klibc | 2.0.10-4ubuntu0.1 | USN-6736-1 |
| Ubuntu 22.04 LTS | zlib | 1:1.2.11.dfsg-2ubuntu9.2 | USN-5570-2 |
| Ubuntu 20.04 LTS | klibc | 2.0.7-1ubuntu5.2 | USN-6736-1 |
| Ubuntu 20.04 LTS | rsync | 3.1.3-8ubuntu0.4 | USN-5573-1 |
| Ubuntu 20.04 LTS | zlib | 1:1.2.11.dfsg-2ubuntu1.5 | USN-5570-2 |
| Ubuntu 18.04 LTS | rsync | 3.1.2-2.1ubuntu1.5 | USN-5573-1 |
| Ubuntu 18.04 LTS | zlib | 1:1.2.11.dfsg-0ubuntu2.2 | USN-5570-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | klibc | 2.0.4-9ubuntu2.2+esm1 | USN-6736-1 |
| Ubuntu Pro 16.04 LTS | klibc | 2.0.4-8ubuntu1.16.04.4+esm2 | USN-6736-1 |
| Ubuntu Pro 16.04 LTS | rsync | 3.1.1-3ubuntu1.3+esm2 | USN-5573-1 |
| Ubuntu Pro 16.04 LTS | zlib | 1:1.2.8.dfsg-2ubuntu4.3+esm2 | USN-5570-1 |
| Ubuntu Pro 14.04 LTS | klibc | 2.0.3-0ubuntu1.14.04.3+esm3 | USN-6736-1 |
| Ubuntu Pro 14.04 LTS | zlib | 1:1.2.8.dfsg-1ubuntu1.1+esm2 | USN-5570-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | rsync +1 | 3.2.3-18.el9 | RHSA-2022:8291 |
| RHEL 9 | zlib +2 | 1.2.11-32.el9_0 | RHSA-2022:7314 |
| RHEL 8 | rsync +1 | 3.1.3-19.el8 | RHSA-2022:7793 |
| RHEL 8 | zlib +2 | 1.2.11-19.el8_6 | RHSA-2022:7106 |
| RHEL 7 | zlib +4 | 1.2.7-21.el7_9 | RHSA-2023:1095 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.6 EUS | rsync +1 | 3.1.3-14.el8_6.5 | RHSA-2024:0254 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | rsync +1 | 3.2.3-18.el9 | ALSA-2022:8291 |
| AlmaLinux 9 | zlib +2 | 1.2.11-32.el9_0 | ALSA-2022:7314 |
| AlmaLinux 8 | rsync +1 | 3.1.3-19.el8 | ALSA-2022:7793 |
| AlmaLinux 8 | zlib +2 | 1.2.11-19.el8_6 | ALSA-2022:7106 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | rsync | 3.2.3-18.el9 | RLSA-2022:8291 |
| Rocky Linux 9 | zlib | 1.2.11-32.el9_0 | RLSA-2022:7314 |
| Rocky Linux 8 | rsync | 3.1.3-19.el8 | RLSA-2022:7793 |
| Rocky Linux 8 | zlib | 1.2.11-19.el8_6 | RLSA-2022:7106 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLES 15 SP3 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLES 15 SP2 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLES 15 SP1 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLES 15 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
Show 23 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | zlib | 1.2.11-11.22.1 | SUSE-SU-2022:2847-1 |
| SLES 12 SP4 | zlib | 1.2.11-3.9.1 | SUSE-SU-2022:2846-1 |
| SLES 12 SP3 | zlib | 1.2.8-12.9.1 | SUSE-SU-2022:2845-1 |
| SLES 12 SP2 | zlib | 1.2.8-12.9.1 | SUSE-SU-2022:2845-1 |
| SLES for SAP 15 SP2 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLES for SAP 15 SP1 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLES for SAP 15 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLES for SAP 12 SP5 | zlib | 1.2.11-11.22.1 | SUSE-SU-2022:2847-1 |
| SLES for SAP 12 SP4 | zlib | 1.2.11-3.9.1 | SUSE-SU-2022:2846-1 |
| SLE Micro 5.2 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLE Micro 5.1 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLE HPC 15 SP2 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLE HPC 15 SP1 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SLE HPC 15 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SUSE Package Hub 15 SP5 | vlc | 3.0.20-bp155.2.3.1 | openSUSE-SU-2023:0366-1 |
| SUSE Package Hub 15 SP4 | vlc | 3.0.20-bp154.2.6.1 | openSUSE-SU-2023:0365-1 |
| SUSE OpenStack Cloud Crowbar 9 | zlib | 1.2.11-3.9.1 | SUSE-SU-2022:2846-1 |
| SUSE OpenStack Cloud 9 | zlib | 1.2.11-3.9.1 | SUSE-SU-2022:2846-1 |
| SUSE Manager Server 4.1 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SUSE Manager Retail Branch Server 4.1 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SUSE Manager Proxy 4.1 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SUSE Enterprise Storage 7 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| SUSE Enterprise Storage 6 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libqt5-qtbase | 5.15.6+kde177-1.1 | openSUSE-SU-2024:12367-1 |
| openSUSE Tumbleweed | rsync | 3.2.5-1.1 | openSUSE-SU-2024:12270-1 |
| openSUSE Tumbleweed | rusty_v8 | 0.106.0-1.1 | openSUSE-SU-2024:14386-1 |
| openSUSE Tumbleweed | vlc | 3.0.19-1.1 | openSUSE-SU-2024:13367-1 |
| openSUSE Leap 15.5 | vlc | 3.0.20-bp155.2.3.1 | openSUSE-SU-2023:0366-1 |
| openSUSE Leap 15.4 | vlc | 3.0.20-bp154.2.6.1 | openSUSE-SU-2023:0365-1 |
| openSUSE Leap 15.4 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| openSUSE Leap 15.3 | zlib | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.2 | zlib | 1.2.11-150000.3.33.1 | openSUSE-SU-2022:2947-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | zlib | 1.2.12-r2 | — |
| Alpine v3.24 | zlib-ng | 2.0.6-r0 | — |
| Alpine v3.23 | zlib | 1.2.12-r2 | — |
| Alpine v3.23 | zlib-ng | 2.0.6-r0 | — |
| Alpine v3.22 | zlib | 1.2.12-r2 | — |
| Alpine v3.22 | zlib-ng | 2.0.6-r0 | — |
| Alpine v3.21 | zlib | 1.2.12-r2 | — |
| Alpine v3.21 | zlib-ng | 2.0.6-r0 | — |
| Alpine v3.20 | zlib | 1.2.12-r2 | — |
| Alpine v3.20 | zlib-ng | 2.0.6-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | zlib | 1.2.12-r2 | — |
| Alpine v3.19 | zlib-ng | 2.0.6-r0 | — |
| Alpine v3.18 | zlib | 1.2.12-r2 | — |
| Alpine v3.18 | zlib-ng | 2.0.6-r0 | — |
| Alpine v3.17 | zlib | 1.2.12-r2 | — |
| Alpine v3.17 | zlib-ng | 2.0.6-r0 | — |
| Alpine v3.16 | zlib | 1.2.12-r2 | — |
| Alpine v3.15 | zlib | 1.2.12-r2 | — |
| Alpine v3.14 | zlib | 1.2.12-r2 | — |
| Alpine v3.13 | zlib | 1.2.12-r2 | — |
| Alpine v3.12 | zlib | 1.2.12-r2 | — |
| Alpine v3.11 | zlib | 1.2.11-r4 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | rsync +1 | 3.2.6-1.amzn2023.0.3 | ALAS2023-2023-002 |
| Amazon Linux 2023 | zlib +4 | 1.2.11-33.amzn2023.0.4 | ALAS2023-2023-003 |
| Amazon Linux 2 | rsync | 3.1.2-11.amzn2.0.2 | ALAS2-2023-2074 |
| Amazon Linux 2 | zlib +4 | 1.2.7-19.amzn2.0.2 | ALAS2-2022-1849 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | cloud-hypervisor-cvm | 38.0.72.2-1 | — |
| Azure Linux 3 | crash | 8.0.4-2 | — |
| Azure Linux 3 | fltk +6 | No fix yet | — |
| Azure Linux 3 | teckit | 2.5.12-4 | — |
| Azure Linux 2 (CBL-Mariner) | ogdi | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | zlib | 1.2.12-2 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | rsync +1 | 3.2.3-18.el9 | ELSA-2022-8291 |
| Oracle Linux 9 | zlib +2 | 1.2.11-32.el9_0 | ELSA-2022-7314 |
| Oracle Linux 8 | rsync +1 | 3.1.3-19.el8 | ELSA-2022-7793 |
| Oracle Linux 8 | zlib +2 | 1.2.11-19.el8_6 | ELSA-2022-7106 |
| Oracle Linux 7 | zlib +4 | 1.2.7-20.0.1.el7_9 | ELSA-2023-1095, ELSA-2022-9987 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | zlib | 1.2.13-r1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
xen0bit/CVE-2022-37434_poc ★ 3 · Oct 15, 2022
u think that it doesnt but it do
-
Trinadh465/external_zlib_CVE-2022-37434 ★ 0 · Feb 2, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 50
- WID-SEC-2022-0929 zlib: Schwachstelle ermöglicht nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 11, 2026
- ALSA-2022:8291 Moderate: rsync security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2022:7314 Moderate: zlib security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2022:7793 Moderate: rsync security and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2022:7106 Moderate: zlib security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:0254 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2023:1095 Red Hat Security Advisory: zlib security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:8291 Red Hat Security Advisory: rsync security and bug fix update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:7793 Red Hat Security Advisory: rsync security and enhancement update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:7314 Red Hat Security Advisory: zlib security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:7106 Red Hat Security Advisory: zlib security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2024-0120 Oracle JD Edwards: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2026-2899 Oracle Supply Chain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 18, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2023-1033 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 5, 2026
- ICSA-26-202-06 Siemens CADRA CISA ICS & IT advisories · Jul 21, 2026
- NCSC-2026-0229 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Jul 14, 2026
- SSA-470355 SSA-470355: Zlib and Foxit Vulnerabilities in CADRA Siemens ProductCERT · Jul 14, 2026
- WID-SEC-2023-1350 Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern BSI CERT-Bund (WID) · Jul 1, 2026
- USN-6736-1 klibc vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-5570-1 zlib vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- WID-SEC-2023-0126 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 28, 2026
- USN-5573-1 rsync vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- WID-SEC-2026-0915 Kyocera Drucker: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 1, 2026
- USN-6736-2 klibc vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-5570-2 zlib vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5218-1 zlib - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3103-1 zlib - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:8291 Moderate: rsync security and bug fix update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:7106 Moderate: zlib security update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2022:7314 Moderate: zlib security update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2022:7793 Moderate: rsync security and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2023:0365-1 Security update for vlc SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12270-1 rsync-3.2.5-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:2947-1 Security update for zlib SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2847-1 Security update for zlib SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2023:0366-1 Security update for vlc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2846-1 Security update for zlib SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14386-1 rusty_v8-0.106.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2845-1 Security update for zlib SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13367-1 libvlc5-3.0.19-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2947-1 Security update for zlib SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12367-1 libQt5Bootstrap-devel-static-32bit-5.15.6+kde177-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- NCSC-2025-0382 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Dec 9, 2025
- SSA-202008 SSA-202008: Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0 Siemens ProductCERT · Dec 9, 2025
- WID-SEC-2023-1542 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
References
- https://github.com/ivd38/zlib_overflow
- https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1
- https://github.com/madler/zlib/blob/21767c654d31d2dccdde4330529775c6c5fd5389/zlib.h#L1062-L1063
- https://github.com/nodejs/node/blob/75b68c6e4db515f76df73af476eccf382bbcb00a/deps/zlib/inflate.c#L762-L764
- [oss-security] 20220805 zlib buffer overflow mailing-list
- https://github.com/curl/curl/issues/9271
- [oss-security] 20220808 Re: zlib buffer overflow mailing-list
- FEDORA-2022-25e4dbedf9 vendor-advisory
- DSA-5218 vendor-advisory
- FEDORA-2022-15da0cf165 vendor-advisory
- https://security.netapp.com/advisory/ntap-20220901-0005/
- FEDORA-2022-b8232d1cca vendor-advisory
- [debian-lts-announce] 20220912 [SECURITY] [DLA 3103-1] zlib security update mailing-list
- FEDORA-2022-3c28ae0cd8 vendor-advisory
- FEDORA-2022-0b517a5397 vendor-advisory
- https://support.apple.com/kb/HT213489
- https://support.apple.com/kb/HT213488
- https://support.apple.com/kb/HT213494
- https://support.apple.com/kb/HT213493
- https://support.apple.com/kb/HT213491
- https://support.apple.com/kb/HT213490
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-27-2 Additional information for APPLE-SA-2022-10-24-1 iOS 16.1 and iPadOS 16 mailing-list
- 20221030 APPLE-SA-2022-10-27-1 iOS 15.7.1 and iPadOS 15.7.1 mailing-list
- 20221030 APPLE-SA-2022-10-27-6 Additional information for APPLE-SA-2022-10-24-3 macOS Monterey 12.6.1 mailing-list
- https://security.netapp.com/advisory/ntap-20230427-0007/
- https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d