CVE-2022-37434
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).
Description as published by the source, in English.
Key facts
- Published
- 2022-08-05
- Last modified
- 2026-10-14
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
17.9 %
higher than 97 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apple | Ipados | < 15.7.1 | Affected |
| Apple | Iphone Os | < 15.7.1 | Affected |
| Apple | Iphone Os | ≥ 16.0, < 16.1 | Affected |
| Apple | Macos | ≥ 11.0, < 11.7.1 | Affected |
| Apple | Macos | ≥ 12.0.0, < 12.6.1 | Affected |
| Apple | Watchos | < 9.1 | Affected |
| Debian | Debian Linux | 10.0 | Affected |
| Fedoraproject | Fedora | 35 | Affected |
| Fedoraproject | Fedora | 36 | Affected |
| Fedoraproject | Fedora | 37 | Affected |
| Netapp | Active Iq Unified Manager | all versions listed | Affected |
| Netapp | H300s | all versions listed | Not affected |
| Netapp | H300s Firmware | all versions listed | Affected |
| Netapp | H500s | all versions listed | Not affected |
| Netapp | H500s Firmware | all versions listed | Affected |
| Netapp | H700s | all versions listed | Not affected |
| Netapp | H700s Firmware | all versions listed | Affected |
| Netapp | Hci | all versions listed | Affected |
| Netapp | Hci Compute Node | all versions listed | Affected |
| Netapp | Management Services For Element Software | all versions listed | Affected |
| Netapp | Oncommand Workflow Automation | all versions listed | Affected |
| Netapp | Ontap Select Deploy Administration Utility | all versions listed | Affected |
| Netapp | Storagegrid | all versions listed | Affected |
| Stormshield | Stormshield Network Security | ≥ 3.11.0, < 3.11.22 | Affected |
| Stormshield | Stormshield Network Security | ≥ 3.7.31, < 3.7.34 | Affected |
| Stormshield | Stormshield Network Security | ≥ 4.3.0, < 4.3.16 | Affected |
| Stormshield | Stormshield Network Security | ≥ 4.6.0, < 4.6.3 | Affected |
| Zlib | Zlib | ≤ 1.2.12 | Affected |
Weakness type
-
CWE-787: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
-
CWE-120: Buffer Copy without Checking Size of Input
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
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…
- https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1
- https://github.com/nodejs/node/blob/75b68c6e4db515f76df73af476eccf382bbcb00a/deps/zlib/in…
- https://lists.debian.org/debian-lts-announce/2022/09/msg00012.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.netapp.com/advisory/ntap-20220901-0005/
- https://security.netapp.com/advisory/ntap-20230427-0007/
- https://support.apple.com/kb/HT213488
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.