Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. zlib
  4. ›
  5. CVE-2022-37434

CVE-2022-37434: Out-of-bounds Write

August 5, 2022 (updated April 17, 2025)

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

References

  • www.openwall.com/lists/oss-security/2022/08/05/2
  • www.openwall.com/lists/oss-security/2022/08/09/1
  • github.com/curl/curl/issues/9271
  • github.com/ivd38/zlib_overflow
  • github.com/madler/zlib/blob/21767c654d31d2dccdde4330529775c6c5fd5389/zlib.h
  • github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1
  • github.com/nodejs/node/blob/75b68c6e4db515f76df73af476eccf382bbcb00a/deps/zlib/inflate.c
  • nvd.nist.gov/vuln/detail/CVE-2022-37434

Code Behaviors & Features

Detect and mitigate CVE-2022-37434 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.13

Fixed versions

  • 1.2.13

Solution

Upgrade to version 1.2.13 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

conan/zlib/CVE-2022-37434.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 07:27:42 +0000.