CVEfocus › CVE database › CVE-2022-37434

CVE-2022-37434

CVSS 9.8 CriticalEPSS 5.2% (higher than 93% of CVEs)Published 2022-08-05Updated 2026-10-14Assigner: mitre

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).

CWE-120

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

65Fixed
6Fix pending
5Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04klibcFixed2.0.13-4ubuntu0.1UBUNTU-CVE-2022-37434
Ubuntu 24.04rsyncNot affected
vulnerable_code_not_present
Ubuntu 24.04zlibNot affected
vulnerable_code_not_present
Ubuntu 22.04klibcFixed2.0.10-4ubuntu0.1UBUNTU-CVE-2022-37434
Ubuntu 22.04rsyncNot affected
vulnerable_code_not_present
Ubuntu 22.04zlibFixed1:1.2.11.dfsg-2ubuntu9.2UBUNTU-CVE-2022-37434
Ubuntu 20.04klibcFixed2.0.7-1ubuntu5.2UBUNTU-CVE-2022-37434
Ubuntu 20.04rsyncFixed3.1.3-8ubuntu0.4UBUNTU-CVE-2022-37434
Ubuntu 20.04zlibFixed1:1.2.11.dfsg-2ubuntu1.5UBUNTU-CVE-2022-37434
Ubuntu 18.04klibcFix pending2.0.4-9ubuntu2.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-37434
Ubuntu 18.04rsyncFixed3.1.2-2.1ubuntu1.5UBUNTU-CVE-2022-37434
Ubuntu 18.04zlibFixed1:1.2.11.dfsg-0ubuntu2.2UBUNTU-CVE-2022-37434
Ubuntu 16.04klibcFix pending2.0.4-8ubuntu1.16.04.4+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-37434
Ubuntu 16.04rsyncFix pending3.1.1-3ubuntu1.3+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-37434
Ubuntu 16.04zlibFix pending1:1.2.8.dfsg-2ubuntu4.3+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-37434
Ubuntu 14.04klibcFix pending2.0.3-0ubuntu1.14.04.3+esm3 (Ubuntu Pro)UBUNTU-CVE-2022-37434
Ubuntu 14.04zlibFix pending1:1.2.8.dfsg-1ubuntu1.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-37434
Debian 14libz-mingw-w64Fixed1.2.12+dfsg-2DEBIAN-CVE-2022-37434
Debian 14zlibFixed1:1.2.11.dfsg-4.1DEBIAN-CVE-2022-37434
Debian 13libz-mingw-w64Fixed1.2.12+dfsg-2DEBIAN-CVE-2022-37434
Debian 13zlibFixed1:1.2.11.dfsg-4.1DEBIAN-CVE-2022-37434
Debian 12libz-mingw-w64Fixed1.2.12+dfsg-2DEBIAN-CVE-2022-37434
Debian 12zlibFixed1:1.2.11.dfsg-4.1DEBIAN-CVE-2022-37434
Red Hat Enterprise Linux 9rsyncFixed0:3.2.3-18.el9RHSA-2022:8291
Red Hat Enterprise Linux 9rsync-daemonFixed0:3.2.3-18.el9RHSA-2022:8291
Red Hat Enterprise Linux 9zlibFixed0:1.2.11-32.el9_0RHSA-2022:7314
Red Hat Enterprise Linux 9zlib-develFixed0:1.2.11-32.el9_0RHSA-2022:7314
Red Hat Enterprise Linux 9zlib-staticFixed0:1.2.11-32.el9_0RHSA-2022:7314
Red Hat Enterprise Linux 8rsyncFixed0:3.1.3-19.el8RHSA-2022:7793
Red Hat Enterprise Linux 8rsync-daemonFixed0:3.1.3-19.el8RHSA-2022:7793
Red Hat Enterprise Linux 8zlibFixed0:1.2.11-19.el8_6RHSA-2022:7106
Red Hat Enterprise Linux 8zlib-develFixed0:1.2.11-19.el8_6RHSA-2022:7106
Red Hat Enterprise Linux 8zlib-staticFixed0:1.2.11-19.el8_6RHSA-2022:7106
Red Hat Enterprise Linux 7minizipFixed0:1.2.7-21.el7_9RHSA-2023:1095
Red Hat Enterprise Linux 7minizip-develFixed0:1.2.7-21.el7_9RHSA-2023:1095
Red Hat Enterprise Linux 7zlibFixed0:1.2.7-21.el7_9RHSA-2023:1095
Red Hat Enterprise Linux 7zlib-develFixed0:1.2.7-21.el7_9RHSA-2023:1095
Red Hat Enterprise Linux 7zlib-staticFixed0:1.2.7-21.el7_9RHSA-2023:1095
Red Hat Enterprise Linux 6minizipWill not fix
Out of support scope
Red Hat Enterprise Linux 6minizip-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6zlibWill not fix
Out of support scope
Red Hat Enterprise Linux 6zlib-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6zlib-staticWill not fix
Out of support scope
AlmaLinux 9rsyncFixed3.2.3-18.el9ALSA-2022:8291
AlmaLinux 9rsync-daemonFixed3.2.3-18.el9ALSA-2022:8291
AlmaLinux 9zlibFixed1.2.11-32.el9_0ALSA-2022:7314
AlmaLinux 9zlib-develFixed1.2.11-32.el9_0ALSA-2022:7314
AlmaLinux 9zlib-staticFixed1.2.11-32.el9_0ALSA-2022:7314
AlmaLinux 8rsyncFixed3.1.3-19.el8ALSA-2022:7793
AlmaLinux 8rsync-daemonFixed3.1.3-19.el8ALSA-2022:7793
AlmaLinux 8zlibFixed1.2.11-19.el8_6ALSA-2022:7106
AlmaLinux 8zlib-develFixed1.2.11-19.el8_6ALSA-2022:7106
AlmaLinux 8zlib-staticFixed1.2.11-19.el8_6ALSA-2022:7106
Rocky Linux 9rsyncFixed0:3.2.3-18.el9RLSA-2022:8291
Rocky Linux 9zlibFixed0:1.2.11-32.el9_0RLSA-2022:7314
Rocky Linux 8rsyncFixed0:3.1.3-19.el8RLSA-2022:7793
Rocky Linux 8zlibFixed0:1.2.11-19.el8_6RLSA-2022:7106
Alpine Linux 3.24zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.24zlib-ngFixed2.0.6-r0ALPINE-CVE-2022-37434
Alpine Linux 3.23zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.23zlib-ngFixed2.0.6-r0ALPINE-CVE-2022-37434
Alpine Linux 3.22zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.22zlib-ngFixed2.0.6-r0ALPINE-CVE-2022-37434
Alpine Linux 3.21zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.21zlib-ngFixed2.0.6-r0ALPINE-CVE-2022-37434
Alpine Linux 3.20zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.20zlib-ngFixed2.0.6-r0ALPINE-CVE-2022-37434
Alpine Linux 3.19zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.19zlib-ngFixed2.0.6-r0ALPINE-CVE-2022-37434
Alpine Linux 3.18zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.18zlib-ngFixed2.0.6-r0ALPINE-CVE-2022-37434
Alpine Linux 3.17zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.17zlib-ngFixed2.0.6-r0ALPINE-CVE-2022-37434
Alpine Linux 3.16zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.15zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.14zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.13zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.12zlibFixed1.2.12-r2ALPINE-CVE-2022-37434
Alpine Linux 3.11zlibFixed1.2.11-r4ALPINE-CVE-2022-37434

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.