Description
The DoCommand function in jhead.c in Matthias Wandel jhead 2.84 and earlier allows attackers to execute arbitrary commands via shell metacharacters in unspecified input.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jhead | 2.84-2 | — |
| Debian 13 | jhead | 2.84-2 | — |
| Debian 12 | jhead | 2.84-2 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | jhead | 3.00-1.8 | openSUSE-SU-2024:10096-1 |
Advisories 1
- openSUSE-SU-2024:10096-1 jhead-3.00-1.8 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 31921 vdb-entry
- https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/271020
- [oss-security] 20081015 CVE request: jhead mailing-list
- [oss-security] 20081127 Re: CVE request: jhead mailing-list
- [oss-security] 20081016 Re: CVE request: jhead mailing-list
- [oss-security] 20081015 Re: CVE request: jhead mailing-list