CVE-2022-41751: Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then u
CVE-2022-41751 is a high-severity flaw (CVSS 7.8) affecting jhead, fedora, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.5% (top 59%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2022-10-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-41751?
jhead: downgrade or apply the listed mitigation; fedora: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-41751 being exploited?
CVE-2022-41751 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-41751 affect?
CVE-2022-41751 affects jhead, fedora, debian linux. Severity is high (CVSS 7.8). 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.
How urgent is CVE-2022-41751?
Priority 48/100. High severity; Public exploit reference; On your watchlist
Software pages
Related CVEs
- CVE-2025-44906 HIGH 7.8 DOWNGRADE jhead v3.08 was discovered to contain a heap-use-after-free via the ProcessFile function at jhead.c.
- CVE-2022-28550 CRITICAL 9.8 DOWNGRADE Matthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape(), jhead.c, jhead
- CVE-2021-34055 HIGH 7.8 DOWNGRADE MITIGATE jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u.
- CVE-2021-28278 HIGH 7.8 DOWNGRADE A Heap-based Buffer Overflow vulnerability exists in jhead 3.04 and 3.05 via the RemoveSectionType function in
- CVE-2021-28277 HIGH 7.8 DOWNGRADE A Heap-based Buffer Overflow vulnerabilty exists in jhead 3.04 and 3.05 is affected by: Buffer Overflow via th