{"id":"CVE-2024-37407","details":"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.","modified":"2026-10-28T10:44:09.059316756Z","published":"2024-06-08T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37407.json"},"references":[{"type":"WEB","url":"https://github.com/libarchive/libarchive/releases/tag/v3.7.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37407.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37407"},{"type":"FIX","url":"https://github.com/libarchive/libarchive/commit/b6a979481b7d77c12fa17bbed94576b63bbcb0c0"},{"type":"FIX","url":"https://github.com/libarchive/libarchive/pull/2145"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libarchive/libarchive","events":[{"introduced":"4fcc02d906cca4b9e21a78a833f1142a2689ec52"},{"fixed":"b6a979481b7d77c12fa17bbed94576b63bbcb0c0"},{"fixed":"313aa1fa10b657de791e3202c168a6c833bc3543"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:libarchive:libarchive:3.7.3:*:*:*:*:*:*:*","range":[{"introduced":"3.7.3"},{"last_affected":"3.7.3"}],"source":"CPE_STRING"},{"range":[{"fixed":"b6a979481b7d77c12fa17bbed94576b63bbcb0c0"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v3.7.4","range":[{"fixed":"313aa1fa10b657de791e3202c168a6c833bc3543"}],"source":"REFERENCES_TAG"}]}}],"versions":["3.7.3","v3.7.3"],"database_specific":{"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/libarchive/libarchive/commit/b6a979481b7d77c12fa17bbed94576b63bbcb0c0","target":{"file":"libarchive/archive_read_support_format_zip.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["169510583151600880360681763136394354429","166418436347227073868014082647047719771","66351049021125490625824910797739220536","305798257792280429190797816914595457782"]},"id":"CVE-2024-37407-39a99576"},{"deprecated":false,"digest":{"length":4222,"function_hash":"136375031937386002894752944749580128560"},"id":"CVE-2024-37407-cf22f438","signature_type":"Function","signature_version":"v1","source":"https://github.com/libarchive/libarchive/commit/b6a979481b7d77c12fa17bbed94576b63bbcb0c0","target":{"function":"slurp_central_directory","file":"libarchive/archive_read_support_format_zip.c"}}],"vanir_signatures_modified":"2026-10-28T10:44:09Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37407.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}