# CVE-2024-37407: Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled.

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-08T00:00:00.000Z
- Modified: 2026-06-17T07:38:18.687Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled. This occurs in slurp_central_directory in archive_read_support_format_zip.c.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libarchive libarchive: up to 3.7.4; 3.7.3

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/libarchive/libarchive/pull/2145> (exploit, issue-tracking)
- <https://github.com/libarchive/libarchive/commit/b6a979481b7d77c12fa17bbed94576b63bbcb0c0> (issue-tracking)
- <https://github.com/libarchive/libarchive/releases/tag/v3.7.4> (patch)

## Sources

- CVE List: [CVE-2024-37407](https://www.cve.org/CVERecord?id=CVE-2024-37407), CVE Terms of Use, modified 2025-03-14
- NVD: [CVE-2024-37407](https://nvd.nist.gov/vuln/detail/CVE-2024-37407), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-37407 · Whole record: https://cve.day/CVE-2024-37407.json · Rebuilt by cve.day 2026-11-25T22:58:41.564Z
