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
Not rated by the source.
Dates
Published
2008-10-21 18:00 UTC
Modified
2026-10-23 17:47 UTC
Affected packages and fixes
jhead
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 2.85-1 (ecosystem)
Fixed versions
2.85-1
Fix
Fixed version 2.85-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
jhead
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 2.85-1 (ecosystem)
Fixed versions
2.85-1
Fix
Fixed version 2.85-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
jhead
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 2.85-1 (ecosystem)
Fixed versions
2.85-1
Fix
Fixed version 2.85-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.