Matthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape()…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.
Summary
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 it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:jhead_project:jhead:3.06:*:*:*:*:*:*:* | 3.06 | Vulnerable | Jhead Project |
- cpe:2.3:a:jhead_project:jhead:3.06:*:*:*:*:*:*:* Versions 3.06 Vulnerable ·Jhead Project
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-28550
- 2026-10-03 Alias added: GHSA-phqx-gjxc-wrp9
References
More Jhead Project Jhead vulnerabilities
- TI-2025-28699 jhead v3.08 was discovered to contain a heap-use-after-free via the ProcessFile function at jhead.c. CVSS 3.1HIGH 7.8
- TI-2022-20137 Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a… CVSS 3.1HIGH 7.8
- TI-2020-16030 Heap-buffer-overflow in jhead CVSS 3.1MEDIUM 6.1
- TI-2018-11874 The ProcessGpsInfo function of the gpsinfo.c file of jhead 3.00 may allow a remote… CVSS 3.0HIGH 7.8
- TI-2018-12214 The ProcessGpsInfo function of the gpsinfo.c file of jhead 3.00 may allow a remote… CVSS 3.0HIGH 7.8
- TI-2021-13253 jhead 3.06 is vulnerable to Buffer Overflow via exif.c in function Put16u. CVSS 3.1HIGH 7.8
Sources
- CVE-2022-28550 · CVE Program
- CVE-2022-28550 · NVD
- FIRST EPSS
- GHSA-phqx-gjxc-wrp9 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-28550 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences