PT-2022-26056 · Jhead+3 · Jhead+3

Kyle-Tenet3

·

Published

2022-10-17

·

Updated

2025-05-13

·

CVE-2022-41751

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Jhead version 3.06.0.1
Description The issue allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.
Recommendations For Jhead version 3.06.0.1, consider avoiding the use of the regeneration -rgt50 option with untrusted JPEG filenames until a patch is available. As a temporary workaround, restrict the execution of OS commands from JPEG filenames to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

OS Command Injection

Weakness Enumeration

Related Identifiers

ALT-PU-2023-4462
ALT-PU-2024-8920
CVE-2022-41751
DLA-3219-1
DSA-5294-1
OPENSUSE-SU-2022:10178-1
OPENSUSE-SU-2022:10179-1
OPENSUSE-SU-2023:0054-1
OPENSUSE-SU-2023:0371-1
OPENSUSE-SU-2024:12466-1
USN-6108-1

Affected Products

Alt Linux
Jhead
Linuxmint
Ubuntu