# CVE-2022-28550: jhead: Matthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape(), jhead.c, jhead

CVE-2022-28550 is fixed in jhead on 1 platform, first by DEBIAN-CVE-2022-28550, released June 13, 2023. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2022-28550
- Priority: Urgent
- CVSS: 9.8 (critical)
- EPSS: 0.0105
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 13, 2023

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | jhead Debian 13.5 (trixie) | 1:3.08-1 | [DEBIAN-CVE-2022-28550](https://patchblox.com/security/data/fix/linux/debian-cve-2022-28550.md) | Jun 13, 2023 |
| Linux | jhead Debian 14 | 1:3.08-1 | [DEBIAN-CVE-2022-28550](https://patchblox.com/security/data/fix/linux/debian-cve-2022-28550.md) | Jun 13, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
