Hexret
CVE-2022-37434critical 9.8PoC available

zlib inflate gzip-header extra-field over-read (CVE-2022-37434)

When a gzip extra field is larger than the caller's buffer and arrives across several inflate calls, the write offset outgrows the buffer and the copy's size clamp underflows, corrupting the heap.

Product
zlib (libz)
Vendor
zlib (Mark Adler)
Affected
<= 1.2.12 (applications that call inflateGetHeader)
Fixed in
1.2.13
Weakness
CWE-787
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
5 Aug 2022

Practice this CVE, free

Classified as

References

Related CVEs