CVE-2007-3641 Memory corruption in n/a

Critical 9.3 Published Updated

A buffer overflow in libarchive allows remote attackers to execute arbitrary code or cause a denial of service via crafted PAX or TAR archives.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2007-3641?

CVE-2007-3641 is a critical memory corruption vulnerability in n/a, published on 14 Jul 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

archive_read_support_format_tar.c in libarchive before 2.2.4 does not properly compute the length of a certain buffer when processing a malformed pax extension header, which allows user-assisted remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted (1) PAX or (2) TAR archive that triggers a buffer overflow.

Which versions are affected by CVE-2007-3641?

It affects 1 product.

Products include Freebsd Libarchive.

How do I fix CVE-2007-3641?

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-2007-3641 being exploited?

There is no known exploitation of CVE-2007-3641 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2007-3641, GHSA-72gg-m2hj-9c97.

Is CVE-2007-3641 in your software?

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

Check your SBOMs for free