CVE-2022-28550: Matthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape(), jhead.c, jhead
CVE-2022-28550 is a critical-severity flaw (CVSS 9.8) affecting jhead. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Matthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape(), jhead.c, jhead. jhead copies strings to a stack buffer when it detects a &i or &o. However, jhead does not check the boundary of the stack buffer. As a result, there will be a stack buffer overflow problem when multiple `&i` or `&o` are given.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
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-28550?
jhead: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-28550 being exploited?
CVE-2022-28550 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-28550 affect?
CVE-2022-28550 affects jhead. Severity is critical (CVSS 9.8). Matthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape(), jhead.c, jhead. jhead copies strings to a stack buffer when it detects a &i or &o. However, jhead does not check the boundary of the stack buffer. As a res
How urgent is CVE-2022-28550?
Priority 60/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
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-41751 HIGH 7.8 DOWNGRADE MITIGATE Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then u
- 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