Skip to content
OpenAdvisories
High · 7.8 CVE-2022-41751 EUVD-2022-44922GHSA-8m3f-vphm-cjhj

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 …

Published Oct 17, 2022 · Updated May 13, 2025 · Assigned by mitre

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.

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.

ReleasePackageFixed inAdvisory
Debian 14 jhead 1:3.06.0.1-3 —
Debian 13 jhead 1:3.06.0.1-3 —
Debian 12 jhead 1:3.06.0.1-3 —
Debian 11 jhead 1:3.04-6+deb11u1 DSA-5294-1
Debian 10 jhead 1:3.00-8+deb10u1 DLA-3219-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS jhead 1:3.06.0.1-2ubuntu0.22.04.1 USN-6108-1
Ubuntu 20.04 LTS jhead 1:3.04-1ubuntu0.2 USN-6108-1
Ubuntu 18.04 LTS jhead 1:3.00-8~ubuntu0.2 USN-6108-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS jhead 1:3.00-4+deb9u1ubuntu0.1~esm2 USN-6108-1
Ubuntu Pro 14.04 LTS jhead 1:2.97-1+deb8u2ubuntu0.1~esm2 USN-6108-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP5 jhead 3.06.0.1-bp155.5.3.1 openSUSE-SU-2023:0371-1
SUSE Package Hub 15 SP4 jhead 3.06.0.1-bp154.2.3.1 openSUSE-SU-2023:0054-1, openSUSE-SU-2022:10179-1
SUSE Package Hub 15 SP3 jhead 3.00-bp153.3.3.1 openSUSE-SU-2022:10178-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed jhead 3.06.0.1-2.1 openSUSE-SU-2024:12466-1
openSUSE Leap 15.5 jhead 3.06.0.1-bp155.5.3.1 openSUSE-SU-2023:0371-1
openSUSE Leap 15.4 jhead 3.06.0.1-bp154.2.3.1 openSUSE-SU-2023:0054-1, openSUSE-SU-2022:10179-1
openSUSE Leap 15.3 jhead 3.00-bp153.3.3.1 openSUSE-SU-2022:10178-1

Advisories 8

References