CriticalFix available
jhead — security advisory
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.
- Products
- jhead
- Affected versions
- 1:3.06.0.1-6, 1:3.08-1, 1:3.08-2, 1:3.08-3
- Fixed versions
- 1:3.08-1
- CVEs
- CVE-2022-28550
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 14:55 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2022-28550
jhead
Fixed versions: Not specified
jhead
Fixed versions: 1:3.08-1
jhead
Fixed versions: 1:3.08-1
Complete source record
{
"id": "8b04a7e83efa948daa1a65061e124002ee0e8c1904783100c3f04de8000114cb",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-28550",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2022-28550",
"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.",
"evidence": "osv:DEBIAN-CVE-2022-28550",
"products": [
{
"name": {
"value": "jhead",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:3.06.0.1-6",
"evidence": "/affected/0/versions"
},
{
"value": "1:3.08-1",
"evidence": "/affected/0/versions"
},
{
"value": "1:3.08-2",
"evidence": "/affected/0/versions"
},
{
"value": "1:3.08-3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "jhead",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:3.08-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "jhead",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:3.08-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2022-28550",
"aliases": [
"DEBIAN-CVE-2022-28550"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/debian/jhead?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1:3.06.0.1-6",
"1:3.08-1",
"1:3.08-2",
"1:3.08-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-28550.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:3.08-1"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/debian/jhead?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-28550.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:3.08-1"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/debian/jhead?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-28550.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T08:02:37.349420413Z",
"provider": "osv",
"upstream": [
"CVE-2022-28550"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2022-28550"
]
},
"related_cves": [
{
"value": "CVE-2022-28550",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 323792,
"published_at": "2023-06-13T20:15:08.907+00:00"
}