CVE-2022-41751
JSON

7.8high

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…

Severity
7.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
jhead_project jhead3.06.0.1NVD
fedoraproject fedora35, 36, 37NVD
debian debian_linux10.0, 11.0NVD

All scores

CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Jhead versión 3.06.0.1, permite a atacantes ejecutar comandos arbitrarios del Sistema Operativo al colocarlos en un nombre de archivo JPEG y usando después la opción de regeneración -rgt50

References

https://github.com/Matthias-Wandel/jheadproduct, third-party-advisory
https://github.com/Matthias-Wandel/jhead/blob/63ce118c6a59ea64ac357236a11a47aaf569d622/jhead.c#L788exploit, third-party-advisory
https://github.com/Matthias-Wandel/jhead/pull/57exploit, issue-tracking, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EG26AD7KJAY5B6L6OERSGL4FRXJE3GOB/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TAVB3ZX7E5ULEXESU5NXZIAHY6CVGCHB/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NM6FET4ZNWV4EQGKZTLZFWTNVODGVOK/vendor-advisory
https://lists.debian.org/debian-lts-announce/2022/12/msg00004.htmlmailing-list, third-party-advisory
https://www.debian.org/security/2022/dsa-5294third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2022-41751 changed 2025-05-13CVE Terms of Use
NVDCVE-2022-41751 changed 2026-06-17Public domain