CVE-2007-2799
Integer overflow in the "file" program 4.20, when running on 32-bit systems, as used in products including The Sleuth Kit, might allow…
Check your servers for CVE-2007-2799
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2007-2799 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 2.70%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 86.6% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2007-2799 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-2799RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-2799Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2007-2799
trivy image --scanners vuln IMAGE | grep CVE-2007-2799
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
30 of 31 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- DSA-1343 debian.org · vendor advisory
- 29179 secunia.com · third party advisory
- 2007-0024 trustix.org · vendor advisory
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=241022 bugzilla.redhat.com
- 26415 secunia.com · third party advisory
- http://support.avaya.com/elmodocs2/security/ASA-2007-290.htm support.avaya.com
- SUSE-SA:2007:040 novell.com · vendor advisory
- https://issues.rpath.com/browse/RPL-1311 issues.rpath.com
- 25931 secunia.com · third party advisory
- http://www.amavis.org/security/asa-2007-3.txt amavis.org
- 25544 secunia.com · third party advisory
- 29420 secunia.com · third party advisory
10 more
- MDKSA-2007:114 mandriva.com · vendor advisory
- RHSA-2007:0391 redhat.com · vendor advisory
- 25578 secunia.com · third party advisory
- APPLE-SA-2008-03-18 lists.apple.com · vendor advisory
- 25394 secunia.com · third party advisory
- http://docs.info.apple.com/article.html?artnum=307562 docs.info.apple.com
- 26294 secunia.com · third party advisory
- 26203 secunia.com · third party advisory
- GLSA-200705-25 gentoo.org · vendor advisory
- USN-439-2 ubuntu.com · vendor advisory
Other references
- ADV-2008-0924 vupen.com · vdb entry
- 1018140 securitytracker.com · vdb entry
- 20070524 FLEA-2007-0022-1: file securityfocus.com · mailing list
- file-assert-code-execution(34731) exchange.xforce.ibmcloud.com · vdb entry
- ADV-2007-2071 vupen.com · vdb entry
- oval:org.mitre.oval:def:11012 oval.cisecurity.org · vdb entry, signature
- 24146 securityfocus.com · vdb entry
- 38498 osvdb.org · vdb entry
Source: the record CVE-2007-2799 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse