Vulnerabilities / CVE-2024-37407

critical

CVE-2024-37407

libarchive: Out of bounds access in slurp_central_directory at archive_read_support_format_zip.c

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Red Hat8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux. Rated lower by Red Hat (high).

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.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0libarchive0:3.7.1-2.azl3
chainguardlibarchive3.7.4-r0
rapidfort fedora 41libarchive, rf-libarchive0:3.7.4-5.fc41
root.io debian 12libarchive, rootio-libarchive3.6.2-1+deb12u2.root.io.1, 3.6.2-1+deb12u2.root.io.2, 3.6.2-1+deb12u2.root.io.3, 3.6.2-1+deb12u3.root.io.4, 3.6.2-1+deb12u3.root.io.5, 3.6.2-1+deb12u3.root.io.6
wolfilibarchive3.7.4-r0
Show all 7 entries from 5 sources
SourcePackageFixed in
Azure Linux 3.0libarchive0:3.7.1-2.azl3
chainguardlibarchive3.7.4-r0
rapidfort fedora 41libarchive0:3.7.4-5.fc41
rapidfort fedora 41rf-libarchive0:3.7.4-5.fc41
root.io debian 12libarchive3.6.2-1+deb12u2.root.io.1, 3.6.2-1+deb12u2.root.io.2, 3.6.2-1+deb12u2.root.io.3, 3.6.2-1+deb12u3.root.io.4, 3.6.2-1+deb12u3.root.io.5, 3.6.2-1+deb12u3.root.io.6
root.io debian 12rootio-libarchive3.6.2-1+deb12u2.root.io.1, 3.6.2-1+deb12u2.root.io.2, 3.6.2-1+deb12u2.root.io.3, 3.6.2-1+deb12u3.root.io.4, 3.6.2-1+deb12u3.root.io.5, 3.6.2-1+deb12u3.root.io.6
wolfilibarchive3.7.4-r0

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.