CVE-2024-37407

Source
https://cve.org/CVERecord?id=CVE-2024-37407
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37407.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-37407
Downstream
AZL (1)
CGA (2)
ROOT (1)
Related
Published
2024-06-08T00:00:00Z
Modified
2026-08-12T15:15:19Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
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.

Database specific
{
    "cna_assigner":  "mitre",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37407.json"
}
References

Affected packages

Git / github.com/libarchive/libarchive

Affected ranges

Type
GIT
Repo
https://github.com/libarchive/libarchive
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:libarchive:libarchive:3.7.3:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "3.7.3"
        },
        {
            "last_affected":  "3.7.3"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

3.*
3.7.3
v3.*
v3.7.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37407.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "169510583151600880360681763136394354429",
                "166418436347227073868014082647047719771",
                "66351049021125490625824910797739220536",
                "305798257792280429190797816914595457782"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2024-37407-39a99576",
        "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":  {
            "function_hash":  "136375031937386002894752944749580128560",
            "length":  4222
        },
        "id":  "CVE-2024-37407-cf22f438",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libarchive/libarchive/commit/b6a979481b7d77c12fa17bbed94576b63bbcb0c0",
        "target":  {
            "file":  "libarchive/archive_read_support_format_zip.c",
            "function":  "slurp_central_directory"
        }
    }
]
vanir_signatures_modified
"2026-08-12T15:15:19Z"