CVE-2007-2799
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedInteger 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceInteger overflow in the file program version 4.20 on 32-bit systems allows user-assisted arbitrary code execution via large files that bypass an assert() statement. This is a regression from an incomplete fix for CVE-2007-1536, affecting The Sleuth Kit and potentially other products using the vulnerable file utility.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 4.2all versionsCVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:H/Au:N/C:P/I:P/A:P
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check file command versionRun 'file --version' or 'file -v' to determine the installed version of the file utilityAffected if Version is 4.20 on a 32-bit system
-
Verify system architectureRun 'uname -m' or 'getconf LONG_BIT' to determine if the system is 32-bitAffected if System is 32-bit (i386, i686, or LONG_BIT returns 32)
-
Check if Sleuth Kit is installedRun 'which fls' or 'which icat' to check for Sleuth Kit forensic toolsAffected if Sleuth Kit utilities are present and the bundled file utility is version 4.20 or vulnerable
-
Identify file utility used by Sleuth KitRun 'file' against a test file via Sleuth Kit tools, or check Sleuth Kit documentation for bundled utility versionAffected if Sleuth Kit is using a vulnerable version of the file utility (4.20 or earlier)
You are affected if the file command version is 4.20 on a 32-bit system, or if Sleuth Kit (which bundles the file utility) is in use on a 32-bit system with a vulnerable bundled version.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataUpgrade the file program to a version beyond 4.20 that contains the corrected patch, and similarly update any affected products like The Sleuth Kit that incorporate the vulnerable file utility.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2007-2799 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- www.vupen.com
- www.vupen.com
- bugzilla.redhat.com
- ftp.netbsd.org
- docs.info.apple.com
- lists.apple.com
- osvdb.org
- secunia.com
- support.avaya.com
- www.amavis.org
- www.debian.org
- www.gentoo.org
- www.mandriva.com
- www.novell.com
- www.redhat.com
- www.securityfocus.com
- www.securityfocus.com
- www.securitytracker.com
- www.trustix.org
- www.ubuntu.com
- exchange.xforce.ibmcloud.com
- issues.rpath.com
- oval.cisecurity.org
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2007-2799 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data