CVE-2024-37407 Memory corruption in n/a

Critical 9.1 Published Updated

An out-of-bounds access in Libarchive allows attackers to cause denial of service or potentially execute code via a crafted ZIP archive with mac-ext enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-37407?

CVE-2024-37407 is a critical memory corruption vulnerability in Libarchive Libarchive, published on 8 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2024-37407?

It affects 1 product.

Products include Libarchive Libarchive.

How do I fix CVE-2024-37407?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-37407 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-37407 exists.

All Libarchive Libarchive vulnerabilities

Sources

Also known as AZL-42471, GHSA-xjwr-37fp-hq82.

Is CVE-2024-37407 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free