UnratedFix available
jhead — security advisory
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.
- Products
- jhead
- Affected versions
- Not specified
- Fixed versions
- 2.85-1
- CVEs
- CVE-2008-4640
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:25 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2008-4640
jhead
Fixed versions: 2.85-1
jhead
Fixed versions: 2.85-1
jhead
Fixed versions: 2.85-1
Complete source record
{
"id": "859a3bde8357d98a7821c098d881eaffefd5e1a672f325079d681fb14853fc5f",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2008-4640",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2008-4640",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2008-4640",
"products": [
{
"name": {
"value": "jhead",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.85-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "jhead",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.85-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "jhead",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.85-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2008-4640",
"aliases": [
"DEBIAN-CVE-2008-4640"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.85-1"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/debian/jhead?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2008-4640.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.85-1"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/debian/jhead?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2008-4640.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.85-1"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/debian/jhead?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2008-4640.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-23T17:47:43.109014035Z",
"provider": "osv",
"upstream": [
"CVE-2008-4640"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2008-4640"
]
},
"related_cves": [
{
"value": "CVE-2008-4640",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 418530,
"published_at": "2008-10-21T18:00:01.087+00:00"
}