What’s Vulnerable › Vulnerabilities
CVE-2022-37434
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 19.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-08-05 · updated 2026-10-14
- Weakness: CWE-787
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).
Affected products
- Apple iPadOS: before 15.7.1 — fixed in 15.7.1
- Apple Iphone Os: before 15.7.1; from 16.0 before 16.1 — fixed in 15.7.1, 16.1
- Apple macOS: from 11.0 before 11.7.1; from 12.0.0 before 12.6.1 — fixed in 11.7.1, 12.6.1
- Apple watchOS: before 9.1 — fixed in 9.1
- Debian Linux: 10.0
- Fedoraproject Fedora: 35, 36, 37
- Active IQ Unified Manager for VMware vSphere, Linux, and Microsoft Windows: all versions
- NetApp H300S Firmware: all versions
- NetApp H500S Firmware: all versions
- NetApp H700S Firmware: all versions
- NetApp Hci: all versions
- NetApp Hci Compute Node: all versions
- NetApp Management Services For Element Software: all versions
- NetApp OnCommand Workflow Automation: all versions
- NetApp ONTAP Select Deploy administration utility: all versions
- NetApp StorageGRID: all versions
- Stormshield Network Security: from 3.7.31 before 3.7.34; from 3.11.0 before 3.11.22; from 4.3.0 before 4.3.16; from 4.6.0 before 4.6.3 — fixed in 3.11.22, 3.7.34, 4.3.16, 4.6.3
- zlib: through 1.2.12
How to fix
Upgrade to a fixed version: Apple iPadOS 15.7.1; Apple Iphone Os 15.7.1, 16.1; Apple macOS 11.7.1, 12.6.1; Apple watchOS 9.1; Stormshield Network Security 3.11.22, 3.7.34, 4.3.16, 4.6.3. Check the vendor advisory for mitigations.
References
- http://seclists.org/fulldisclosure/2022/Oct/37
- http://seclists.org/fulldisclosure/2022/Oct/38
- http://seclists.org/fulldisclosure/2022/Oct/41
- http://seclists.org/fulldisclosure/2022/Oct/42
- http://www.openwall.com/lists/oss-security/2022/08/05/2
- http://www.openwall.com/lists/oss-security/2022/08/09/1
- https://github.com/curl/curl/issues/9271
- https://github.com/ivd38/zlib_overflow
- https://github.com/madler/zlib/blob/21767c654d31d2dccdde4330529775c6c5fd5389/zlib.h#L1062-L1063
- https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d
- https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1
- https://github.com/nodejs/node/blob/75b68c6e4db515f76df73af476eccf382bbcb00a/deps/zlib/inflate.c#L762-L764
Get alerted when CVE-2022-37434 or the next vulnerability affects your stack