CVE-2007-2799 Integer overflow in n/a

Medium 5.1 Published Updated

An integer overflow in the file library allows attackers to execute arbitrary code via a crafted large file, requiring user interaction to open the file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2007-2799?

CVE-2007-2799 is a medium-severity vulnerability in n/a, published on 23 May 2007. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Integer overflow in the "file" program 4.20, when running on 32-bit systems, as used in products including The Sleuth Kit, might allow user-assisted attackers to execute arbitrary code via a large file that triggers an overflow that bypasses an assert() statement. NOTE: this issue is due to an incorrect patch for CVE-2007-1536.

Weakness: CWE-189

Which versions are affected by CVE-2007-2799?

It affects 2 products.

Linux distribution packages (12)
file Red Hat:enterprise_linux:4::asAll versions0:4.10-3.0.2.el4
file-debuginfo Red Hat:enterprise_linux:4::asAll versions0:4.10-3.0.2.el4
file Red Hat:enterprise_linux:4::desktopAll versions0:4.10-3.0.2.el4
file-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:4.10-3.0.2.el4
file Red Hat:enterprise_linux:4::esAll versions0:4.10-3.0.2.el4
file-debuginfo Red Hat:enterprise_linux:4::esAll versions0:4.10-3.0.2.el4
file Red Hat:enterprise_linux:4::wsAll versions0:4.10-3.0.2.el4
file-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:4.10-3.0.2.el4
file Red Hat:enterprise_linux:5::clientAll versions0:4.17-9.0.1.el5
file-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:4.17-9.0.1.el5
file Red Hat:enterprise_linux:5::serverAll versions0:4.17-9.0.1.el5
file-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:4.17-9.0.1.el5

Products include File File, Sleuth Kit the Sleuth Kith.

How do I fix CVE-2007-2799?

Apply the vendor's patch.

Is CVE-2007-2799 being exploited?

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

Sources

Also known as DEBIAN-CVE-2007-2799, DSA-1343-1, DSA-1343-2, GHSA-g967-rw3c-p2f7, RHSA-2007:0391.

Is CVE-2007-2799 in your software?

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

Check your SBOMs for free