CVE-2022-37434
Critical · CVSS 9.8zlib — heap-based buffer overflow / buffer over-read in inflate
- CVSS
- 9.8
- nvd
- EPSS
- 16.0%
- 97th pct
- KEV
- No
- Class
- oss containerizable
- CWE-787, CWE-120
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).
Search profile — drives PoC discovery
Symbols inflateinflateGetHeaderinflate.cgzip header extra fieldextragz_headstate->headstate->extraHCRCEXLEN
Keywords CVE-2022-37434zlibinflateinflateGetHeaderheap buffer overflowgzip header extra fieldzlib 1.2.12CWE-787CWE-120PoCproof of conceptexploit
Versions: <= 1.2.12
Ranked PoCs (39) — best first
Heuristic ranking — not yet expert-vetted. Scored on structure + provenance, not execution.
- ★ 0
- ★ 0
- ★ 0
- ★ 0
- ★ 0
- ★ 0
- ★ 0
- ★ 0
- ★ 0
- ★ 0
- ★ 0
- ★ 0
- ★ 3
- ★ 0ChrisAdkin8/Nomad-Job-Vulnerability-Tagging needs reviewtrickest
- ★ 0RenderKit/openvkl needs reviewtrickest
- ★ 0SAWoW-ZA/wotlk-full-changelog needs reviewtrickest
- ★ 0SYRTI/POC_to_review needs reviewtrickest
- ★ 0ShivamJha2436/DockShield needs reviewtrickest
- ★ 0
- ★ 0
- ★ 0WhooAmii/POC_to_review needs reviewtrickest
- ★ 0a23au/awe-base-images needs reviewtrickest
- ★ 0bollwarm/SecToolSet needs reviewtrickest
- ★ 0fivexl/aws-ecr-client-golang needs reviewtrickest
- ★ 0ghostbyt3/patch-tuesday needs reviewtrickest
- ★ 0grotesquepu/bif needs reviewtrickest
- ★ 0isgo-golgo13/gokit-gorillakit-enginesvc needs reviewtrickest
- ★ 0jercle/awe-base-images needs reviewtrickest
- ★ 0karimhabush/cyberowl needs reviewtrickest
- ★ 0lit1numyt/docker-pentest_victim needs reviewtrickest
- ★ 0maxim12z/ECommerce needs reviewtrickest
- ★ 0trickest
- ★ 0nidhi7598/external_zlib-1.2.7_CVE-2022-37434 needs reviewtrickest
- ★ 0openvkl/openvkl needs reviewtrickest
- ★ 0stkcat/awe-base-images needs reviewtrickest
- ★ 0teresaweber685/book_list needs reviewtrickest
- ★ 0trhacknon/Pocingit needs reviewtrickest
- ★ 0wajihafatima2008/python-program needs reviewtrickest
- ★ 0wittyflatbo/bif needs reviewtrickest
Recall-favoring discovery; ranking by the Stage-4 scorer (Adam's rubric). Scanner/aggregator repos are hidden.
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
Status: enriched · ingested 2026-07-14T18:00:20.000Z · profiled 2026-07-14T18:30:20.000Z