zlib is vulnerable to Denial of Service (DoS)
60
CVE Score
Medium
Denial of Service (DoS)
The optional contrib/infback9 Deflate64 decoder in zlib forms pointers before the start of the lbase and lext arrays in inflate_table9(), causing undefined behavior during Huffman table construction. The pointers return in bounds before use, and upstream reports no known compiler mishandling or demonstrated heap corruption or remote code execution. The arithmetic could trap on capability hardware such as CHERI, terminating the process. Version 1.4 removes the pointer offsets and instead adjusts the array indices. CVE-2026-4738 was originally recorded for GDAL's bundled copy of this code; upstream states that its critical rating overstates the impact.
Upgrade zlib to version 1.4 or later and rebuild any application that bundles contrib/infback9. Alternatively, apply https://github.com/madler/zlib/commit/6cf6cd6ad06a8e74a8466279ccbf33e4ea6a1dd3 to the bundled decoder, or use a distribution package that backports this fix. Until patched, avoid decoding untrusted Deflate64 data with contrib/infback9.
You are affected if you are using a version that falls within the vulnerable range and your application builds or bundles contrib/infback9 and uses it to decode untrusted Deflate64 data. Normal inflate(), gzip, and deflate use through the core zlib library is not affected by this issue. The practical impact depends on the compiler and hardware, with traps possible on capability systems such as CHERI.
1.2.0.6 - 1.3.2
Fixed in 1.4zlib is vulnerable to Denial of Service (DoS) in versions 1.2.0.6 - 1.3.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.