CVE-2008-4640

The DoCommand function in jhead.c in Matthias Wandel jhead 2.84 and earlier allows local users to delete arbitrary files via vectors involving a modified input filename in which (1) a final "z" character is replaced by a "t" character or (2) a final "t" character is replaced by a "z" character.

Published: 2008-10-21 Last update: 2026-04-23 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2008-4640 is rated Low Risk (22.2/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.30%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2008-4640

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.06% 0.30% +0.24%
2 2025-03-17 0.04% 0.06% +0.02%
3 2023-03-07 0.04%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2008-4640

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.6 2.0 LOW
AV:L/AC:L/Au:N/C:N/I:P/A:P Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
3.9 4.9 [email protected]

Weakness enumeration for CVE-2008-4640

OS Trackers for CVE-2008-4640

vendor priority summary link
debian unimportant CVE-2008-4640 unimportant priority: Debian including 1 source packages (jhead), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2008-4640
gentoo normal CVE-2008-4640: 1 GLSA(s) (200901-02), 1 atom(s) (media-gfx/jhead); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2008-4640
redhat medium https://access.redhat.com/security/cve/CVE-2008-4640
ubuntu medium CVE-2008-4640 medium priority: Ubuntu including 1 source packages (jhead), 11 status rows across 11 suites (dapper, gutsy, hardy, intrepid, jaunty, karmic, lucid, maverick, natty, oneiric, upstream): not-affected 6, ignored 4, released 1. https://ubuntu.com/security/CVE-2008-4640

Affected software / configurations for CVE-2008-4640

Vendor Product Version Raw CPE
sentex jhead <= 2.82 cpe:2.3:a:sentex:jhead:*:*:*:*:*:*:*:*
sentex jhead 1.2 cpe:2.3:a:sentex:jhead:1.2:*:*:*:*:*:*:*
sentex jhead 1.3 cpe:2.3:a:sentex:jhead:1.3:*:*:*:*:*:*:*
sentex jhead 1.4 cpe:2.3:a:sentex:jhead:1.4:*:*:*:*:*:*:*
sentex jhead 1.5 cpe:2.3:a:sentex:jhead:1.5:*:*:*:*:*:*:*
sentex jhead 1.6 cpe:2.3:a:sentex:jhead:1.6:*:*:*:*:*:*:*
sentex jhead 1.7 cpe:2.3:a:sentex:jhead:1.7:*:*:*:*:*:*:*
sentex jhead 1.8 cpe:2.3:a:sentex:jhead:1.8:*:*:*:*:*:*:*
sentex jhead 1.9 cpe:2.3:a:sentex:jhead:1.9:*:*:*:*:*:*:*
sentex jhead 2.0 cpe:2.3:a:sentex:jhead:2.0:*:*:*:*:*:*:*
sentex jhead 2.1 cpe:2.3:a:sentex:jhead:2.1:*:*:*:*:*:*:*
sentex jhead 2.2 cpe:2.3:a:sentex:jhead:2.2:*:*:*:*:*:*:*
sentex jhead 2.3 cpe:2.3:a:sentex:jhead:2.3:*:*:*:*:*:*:*
sentex jhead 2.4 cpe:2.3:a:sentex:jhead:2.4:*:*:*:*:*:*:*
sentex jhead 2.4-1 cpe:2.3:a:sentex:jhead:2.4-1:*:*:*:*:*:*:*
sentex jhead 2.4-2 cpe:2.3:a:sentex:jhead:2.4-2:*:*:*:*:*:*:*
sentex jhead 2.5 cpe:2.3:a:sentex:jhead:2.5:*:*:*:*:*:*:*
sentex jhead 2.6 cpe:2.3:a:sentex:jhead:2.6:*:*:*:*:*:*:*
sentex jhead 2.7 cpe:2.3:a:sentex:jhead:2.7:*:*:*:*:*:*:*
sentex jhead 2.8 cpe:2.3:a:sentex:jhead:2.8:*:*:*:*:*:*:*

References for CVE-2008-4640

cvelogic Threat Intelligence