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
| Vector | AV: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
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Jhead
Linuxmint
Ubuntu