{"id":"CVE-2022-41751","details":"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.","modified":"2026-08-12T03:30:08.913774248Z","published":"2022-10-17T00:00:00Z","related":["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"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41751.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://github.com/Matthias-Wandel/jhead/blob/63ce118c6a59ea64ac357236a11a47aaf569d622/jhead.c#L788"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41751.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NM6FET4ZNWV4EQGKZTLZFWTNVODGVOK/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EG26AD7KJAY5B6L6OERSGL4FRXJE3GOB/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TAVB3ZX7E5ULEXESU5NXZIAHY6CVGCHB/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41751"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5294"},{"type":"FIX","url":"https://github.com/Matthias-Wandel/jhead/pull/57"},{"type":"PACKAGE","url":"https://github.com/Matthias-Wandel/jhead"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00004.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/matthias-wandel/jhead","events":[{"introduced":"78057ab115e7fe68ba18869f97240cba58b9e996"},{"last_affected":"78057ab115e7fe68ba18869f97240cba58b9e996"}],"database_specific":{"cpe":"cpe:2.3:a:jhead_project:jhead:3.06.0.1:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.06.0.1"},{"last_affected":"3.06.0.1"}],"source":"CPE_STRING"}}],"versions":["3.06.0.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-41751.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}