{"id":"CVE-2008-4640","aliases":["DEBIAN-CVE-2008-4640","EUVD-2008-4620","GHSA-ph3v-wxq4-4xc6"],"status":"published","title":"The DoCommand function in jhead.c in Matthias Wandel jhead 2.84 and earlier allows local users to...","description":"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.","severity":{"version":"2.0","score":3.6,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00302,"percentile":0.23157,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2008-10-21T16:00:00Z","modified":"2026-10-23T17:47:43Z","fixes":[{"ecosystem":"Debian:12","package":"jhead","fixed_in":["2.85-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"jhead","fixed_in":["2.85-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"jhead","fixed_in":["2.85-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.85-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.85-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.85-1"}]}]}],"products":[{"vendor":"sentex","product":"jhead"}],"references":[{"url":"http://www.securityfocus.com/bid/32506","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/271020","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2008/11/26/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2008/10/16/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-4640"},{"url":"https://github.com/advisories/GHSA-ph3v-wxq4-4xc6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-4640","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-4640","description":"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.","status":"published","published":"2008-10-21T16:00:00Z","modified":"2024-08-07T10:24:20.685Z","updated_at":"2026-11-02T14:34:46.950176Z"}],"euvd":[{"id":"EUVD-2008-4620","description":"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.","status":"published","published":"2008-10-21T16:00:00Z","modified":"2024-08-07T10:24:20Z","updated_at":"2026-11-03T01:38:46.801182Z"}],"ghsa":[{"id":"GHSA-ph3v-wxq4-4xc6","title":"The DoCommand function in jhead.c in Matthias Wandel jhead 2.84 and earlier allows local users to...","description":"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.","status":"published","published":"2022-05-17T05:53:36Z","modified":"2023-01-28T05:04:35Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:44:12.284845Z"}],"nvd":[{"id":"CVE-2008-4640","description":"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.","status":"published","published":"2008-10-21T18:00:01.087Z","modified":"2026-06-16T22:58:13.483Z","cvss":[{"version":"2.0","score":3.6,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:01:29.223028Z"}],"osv":[{"id":"CVE-2008-4640","description":"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.","status":"published","published":"2008-10-21T18:00:01Z","modified":"2026-04-10T03:40:18.992382Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"DEBIAN-CVE-2008-4640","description":"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.","status":"published","published":"2008-10-21T18:00:01.087Z","modified":"2026-10-23T17:47:43.109014035Z","updated_at":"2026-11-02T15:45:23.742363Z"}]}}
