Every CVE Search/ Get API key

CVE-2022-41751

Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG...

7.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.48%Down 0.4 points since Oct 18, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2022-41751
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
CVE List 7.8

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.

Record
CVE-2022-41751
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
EUVDEUVD-2022-44922 7.8

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.

Record
EUVD-2022-44922
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-8m3f-vphm-cjhj 7.8

Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG...

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.

Record
GHSA-8m3f-vphm-cjhj
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2022-41751
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2022-41751 7.8

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.

Record
DEBIAN-CVE-2022-41751
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
Show 7 moreShow less
OSVUBUNTU-CVE-2022-41751 7.8

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.

Record
UBUNTU-CVE-2022-41751
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2022:10178-1 No score

Security update for jhead

This update for jhead fixes the following issues:

  • CVE-2022-41751: Fixed shell injection via filenames (boo#1204409)
Record
openSUSE-SU-2022:10178-1
Updated
2026-11-02
OSVopenSUSE-SU-2022:10179-1 No score

Security update for jhead

This update for jhead fixes the following issues:

  • CVE-2022-41751: Fixed shell injection via filenames (boo#1204409)
Record
openSUSE-SU-2022:10179-1
Updated
2026-11-02
OSVopenSUSE-SU-2023:0054-1 No score

Security update for jhead

This update for jhead fixes the following issues:

  • Fixed autorotation problem caused by CVE-2022-41751 patch. [boo#1207150]
Record
openSUSE-SU-2023:0054-1
Updated
2026-11-02
OSVopenSUSE-SU-2023:0371-1 No score

Security update for jhead

This update for jhead fixes the following issues:

  • Fixed autorotation problem caused by CVE-2022-41751 patch. [boo#1207150]
Record
openSUSE-SU-2023:0371-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12466-1 No score

jhead-3.06.0.1-2.1 on GA media

These are all security issues fixed in the jhead-3.06.0.1-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12466-1
Updated
2026-11-02
OSVUSN-6108-1 No score

Jhead vulnerabilities

It was discovered that Jhead did not properly handle certain crafted images while rotating them. An attacker could possibly use this issue to crash Jhead, resulting in a denial of service. (CVE-2021-34055)

Kyle Brown discovered that Jhead did not properly handle certain crafted images while regenerating the Exif thumbnail. An attacker could possibly use this issue to execute arbitrary commands. (CVE-2022-41751)

Record
USN-6108-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
jhead
Debian:12
before 1:3.06.0.1-3
1:3.06.0.1-3
jhead
Debian:13
before 1:3.06.0.1-3
1:3.06.0.1-3
jhead
Debian:14
before 1:3.06.0.1-3
1:3.06.0.1-3
jhead
Debian:10
From an advisory covering 2 CVEs
before 1:3.00-8+deb10u1, plus listed versions
1:3.00-8
1:3.00-8+deb10u1
jhead
Debian:11
From an advisory covering 2 CVEs
before 1:3.04-6+deb11u1, plus listed versions
1:3.04-6
1:3.04-6+deb11u1
jhead
Ubuntu:Pro:14.04:LTS
before 1:2.97-1+deb8u2ubuntu0.1~esm2, plus listed versions
1:2.97-11:2.97-1+deb8u1build0.14.04.11:2.97-1+deb8u2build0.14.04.1~esm11:2.97-1+deb8u2ubuntu0.1~esm1
1:2.97-1+deb8u2ubuntu0.1~esm2
jhead
Ubuntu:Pro:16.04:LTS
before 1:3.00-4+deb9u1ubuntu0.1~esm2, plus listed versions
1:3.00-11:3.00-21:3.00-31:3.00-4+deb9u1build0.16.04.11:3.00-4+deb9u1ubuntu0.1~esm1
1:3.00-4+deb9u1ubuntu0.1~esm2
jhead
Ubuntu:18.04:LTS
before 1:3.00-8~ubuntu0.2, plus listed versions
1:3.00-41:3.00-51:3.00-61:3.00-8~build0.18.04.11:3.00-8~ubuntu0.1
1:3.00-8~ubuntu0.2
jhead
Ubuntu:20.04:LTS
before 1:3.04-1ubuntu0.2, plus listed versions
1:3.03-31:3.04-11:3.04-1ubuntu0.1
1:3.04-1ubuntu0.2
jhead
Ubuntu:22.04:LTS
before 1:3.06.0.1-2ubuntu0.22.04.1, plus listed versions
1:3.04-61:3.06.0.1-2
1:3.06.0.1-2ubuntu0.22.04.1
Show 14 moreShow less
Affected packages
PackageAffectedFixed
jhead
Ubuntu:Pro:14.04:LTS
From an advisory covering 2 CVEs
before 1:2.97-1+deb8u2ubuntu0.1~esm2, plus listed versions
1:2.97-11:2.97-1+deb8u1build0.14.04.11:2.97-1+deb8u2build0.14.04.1~esm11:2.97-1+deb8u2ubuntu0.1~esm1
1:2.97-1+deb8u2ubuntu0.1~esm2
jhead
Ubuntu:Pro:16.04:LTS
From an advisory covering 2 CVEs
before 1:3.00-4+deb9u1ubuntu0.1~esm2, plus listed versions
1:3.00-11:3.00-21:3.00-31:3.00-4+deb9u1build0.16.04.11:3.00-4+deb9u1ubuntu0.1~esm1
1:3.00-4+deb9u1ubuntu0.1~esm2
jhead
Ubuntu:18.04:LTS
From an advisory covering 2 CVEs
before 1:3.00-8~ubuntu0.2, plus listed versions
1:3.00-41:3.00-51:3.00-61:3.00-8~build0.18.04.11:3.00-8~ubuntu0.1
1:3.00-8~ubuntu0.2
jhead
Ubuntu:20.04:LTS
From an advisory covering 2 CVEs
before 1:3.04-1ubuntu0.2, plus listed versions
1:3.03-31:3.04-11:3.04-1ubuntu0.1
1:3.04-1ubuntu0.2
jhead
Ubuntu:22.04:LTS
From an advisory covering 2 CVEs
before 1:3.06.0.1-2ubuntu0.22.04.1, plus listed versions
1:3.04-61:3.06.0.1-2
1:3.06.0.1-2ubuntu0.22.04.1
jhead
SUSE:Package Hub 15 SP3
before 3.00-bp153.3.3.1
3.00-bp153.3.3.1
jhead
openSUSE:Leap 15.3
before 3.00-bp153.3.3.1
3.00-bp153.3.3.1
jhead
SUSE:Package Hub 15 SP4
before 3.06.0.1-bp154.2.3.1
3.06.0.1-bp154.2.3.1
jhead
openSUSE:Leap 15.4
before 3.06.0.1-bp154.2.3.1
3.06.0.1-bp154.2.3.1
jhead
SUSE:Package Hub 15 SP4
before 3.06.0.1-bp154.2.9.1
3.06.0.1-bp154.2.9.1
jhead
openSUSE:Leap 15.4
before 3.06.0.1-bp154.2.9.1
3.06.0.1-bp154.2.9.1
jhead
SUSE:Package Hub 15 SP5
before 3.06.0.1-bp155.5.3.1
3.06.0.1-bp155.5.3.1
jhead
openSUSE:Leap 15.5
before 3.06.0.1-bp155.5.3.1
3.06.0.1-bp155.5.3.1
jhead
openSUSE:Tumbleweed
before 3.06.0.1-2.1
3.06.0.1-2.1

History

History
RecordedChangedSources
affected, factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-41751 is a high vulnerability (CVSS 7.8) in Jhead Project Jhead, published October 17, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.48%, the 41st percentile. Fixed in jhead 1:3.06.0.1-3.

References

Show 23 moreShow less
MoveEnter Open