# CVE-2022-41751: 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: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-10-17T00:00:00.000Z
- Modified: 2026-06-17T05:03:45.670Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- jhead_project jhead: 3.06.0.1
- fedoraproject fedora: 35; 36; 37
- debian debian_linux: 10.0; 11.0

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Matthias-Wandel/jhead/blob/63ce118c6a59ea64ac357236a11a47aaf569d622/jhead.c#L788> (exploit, third-party-advisory)
- <https://github.com/Matthias-Wandel/jhead/pull/57> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/Matthias-Wandel/jhead> (product, 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.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5294> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2022-41751](https://www.cve.org/CVERecord?id=CVE-2022-41751), CVE Terms of Use, modified 2025-05-13
- NVD: [CVE-2022-41751](https://nvd.nist.gov/vuln/detail/CVE-2022-41751), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41751 · Whole record: https://cve.day/CVE-2022-41751.json · Rebuilt by cve.day 2026-11-25T22:58:15.778Z
