CVE
CVE-2022-41751
published high CVSS 3.1 · 7.8jhead: arbitrary OS commands by placing them in a JPEG filename
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | bullseye | jhead | Advisory build | 1:3.04-6+deb11u1 | DSA-5294-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jheadaarch64 | Advisory build | 3.00-bp153.3.3.1 | OPENSUSE-SU-2022:10178-1 |
| Ubuntu | bionic | jhead | Advisory build | 1:3.00-8~ubuntu0.2 | USN-6108-1 |
| Debian | buster | jhead | Advisory build | 1:3.00-8+deb10u1 | DLA-3219-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jheadi586 | Advisory build | 3.00-bp153.3.3.1 | OPENSUSE-SU-2022:10178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jheadppc64le | Advisory build | 3.00-bp153.3.3.1 | OPENSUSE-SU-2022:10178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | jheads390x | Advisory build | 3.00-bp153.3.3.1 | OPENSUSE-SU-2022:10178-1 |
Show 24 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.3 | jheadx86_64 | Advisory build | 3.00-bp153.3.3.1 | OPENSUSE-SU-2022:10178-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jheadaarch64 | Advisory build | 3.06.0.1-bp154.2.3.1 | OPENSUSE-SU-2022:10179-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jheadaarch64 | Advisory build | 3.06.0.1-bp154.2.9.1 | OPENSUSE-SU-2023:0054-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jheadi586 | Advisory build | 3.06.0.1-bp154.2.3.1 | OPENSUSE-SU-2022:10179-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jheadi586 | Advisory build | 3.06.0.1-bp154.2.9.1 | OPENSUSE-SU-2023:0054-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jheadppc64le | Advisory build | 3.06.0.1-bp154.2.3.1 | OPENSUSE-SU-2022:10179-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jheadppc64le | Advisory build | 3.06.0.1-bp154.2.9.1 | OPENSUSE-SU-2023:0054-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jheads390x | Advisory build | 3.06.0.1-bp154.2.3.1 | OPENSUSE-SU-2022:10179-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jheads390x | Advisory build | 3.06.0.1-bp154.2.9.1 | OPENSUSE-SU-2023:0054-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jheadx86_64 | Advisory build | 3.06.0.1-bp154.2.3.1 | OPENSUSE-SU-2022:10179-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | jheadx86_64 | Advisory build | 3.06.0.1-bp154.2.9.1 | OPENSUSE-SU-2023:0054-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | jheadaarch64 | Advisory build | 3.06.0.1-bp155.5.3.1 | OPENSUSE-SU-2023:0371-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | jheadi586 | Advisory build | 3.06.0.1-bp155.5.3.1 | OPENSUSE-SU-2023:0371-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | jheadppc64le | Advisory build | 3.06.0.1-bp155.5.3.1 | OPENSUSE-SU-2023:0371-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | jheads390x | Advisory build | 3.06.0.1-bp155.5.3.1 | OPENSUSE-SU-2023:0371-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | jheadx86_64 | Advisory build | 3.06.0.1-bp155.5.3.1 | OPENSUSE-SU-2023:0371-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jheadaarch64 | Advisory build | 3.06.0.1-2.1 | OPENSUSE-SU-2024:12466-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jheadppc64le | Advisory build | 3.06.0.1-2.1 | OPENSUSE-SU-2024:12466-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jheads390x | Advisory build | 3.06.0.1-2.1 | OPENSUSE-SU-2024:12466-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jheadx86_64 | Advisory build | 3.06.0.1-2.1 | OPENSUSE-SU-2024:12466-1 |
| Ubuntu | esm | jhead | Advisory build | 1:2.97-1+deb8u2ubuntu0.1~esm2 | USN-6108-1 |
| Ubuntu | focal | jhead | Advisory build | 1:3.04-1ubuntu0.2 | USN-6108-1 |
| Ubuntu | jammy | jhead | Advisory build | 1:3.06.0.1-2ubuntu0.22.04.1 | USN-6108-1 |
| Ubuntu | xenial | jhead | Advisory build | 1:3.00-4+deb9u1ubuntu0.1~esm2 | USN-6108-1 |
Description
Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
8- https://github.com/Matthias-Wandel/jhead
- https://github.com/Matthias-Wandel/jhead/blob/63ce118c6a59ea64ac357236a11a47aaf569d622/jhead.c#L788
- https://github.com/Matthias-Wandel/jhead/pull/57
- [debian-lts-announce] 20221204 [SECURITY] [DLA 3219-1] jhead security update https://lists.debian.org/debian-lts-announce/2022/12/msg00004.html
- FEDORA-2022-628829f0e6 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NM6FET4ZNWV4EQGKZTLZFWTNVODGVOK/
- FEDORA-2022-1d9133bc8e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EG26AD7KJAY5B6L6OERSGL4FRXJE3GOB/
- FEDORA-2022-61ec901852 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TAVB3ZX7E5ULEXESU5NXZIAHY6CVGCHB/
- DSA-5294 https://www.debian.org/security/2022/dsa-5294
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5908018e385c88e9dd48d4800514079a9eb3aea01f7856ee441e5f7710686094
- Ingested
- 23 Sep 2026, 08:02:45 UTC
- Source record
- Official CVE record