Security advisory
JHEAD is a simple command line tool for displaying and some manipulation of EXIF header data embedded in Jpeg images from digital cameras. In affected versions there is a heap-buffer-overflow on jhead-3.04/jpgfile.c:285 ReadJpegSections. Crafted jpeg images can be provided to the user resulting in a program crash or potentially incorrect exif information retrieval. Users are advised to upgrade. There is no known workaround for this issue.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-26208
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:11 UTC · Revision 1
Source evidence
JHEAD is a simple command line tool for displaying and some manipulation of EXIF header data embedded in Jpeg images from digital cameras. In affected versions there is a heap-buffer-overflow on jhead-3.04/jpgfile.c:285 ReadJpegSections. Crafted jpeg images can be provided to the user resulting in a program crash or potentially incorrect exif information retrieval. Users are advised to upgrade. There is no known workaround for this issue.
osv:CVE-2020-26208
Complete source record
{
"id": "4e08378d0f1b5153dade97a30cbf827bde9ebc101908598e4ace0018803db632",
"url": "https://osv.dev/vulnerability/CVE-2020-26208",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-26208",
"summary": "JHEAD is a simple command line tool for displaying and some manipulation of EXIF header data embedded in Jpeg images from digital cameras. In affected versions there is a heap-buffer-overflow on jhead-3.04/jpgfile.c:285 ReadJpegSections. Crafted jpeg images can be provided to the user resulting in a program crash or potentially incorrect exif information retrieval. Users are advised to upgrade. There is no known workaround for this issue.",
"evidence": "osv:CVE-2020-26208",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-26208",
"aliases": [
"CVE-2020-26208",
"GHSA-7pr6-xq4f-qhgc"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/fstark-prog/jhead",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "5186ddcf9e35a7aa0ff0539489a930434a1325f4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "5186ddcf9e35a7aa0ff0539489a930434a1325f4"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26208.json",
"vanir_signatures": [
{
"id": "CVE-2020-26208-9cc15307",
"digest": {
"length": 4468,
"function_hash": "169859494957838646546167816554253108203"
},
"source": "https://github.com/fstark-prog/jhead/commit/5186ddcf9e35a7aa0ff0539489a930434a1325f4",
"target": {
"file": "jpgfile.c",
"function": "ReadJpegSections"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2020-26208-9f1f6a1b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"330576998942771320151481250915304193446",
"40248117166146344862024078462565820385",
"323429446749629407972037523201053216423",
"56402429679977452765806517496243227448",
"187911260753655467679865722206949584709",
"301837814040836008224752105503415912204",
"119770356065684445666760556539337173884",
"293215338876584511415204784118399240843"
]
},
"source": "https://github.com/fstark-prog/jhead/commit/5186ddcf9e35a7aa0ff0539489a930434a1325f4",
"target": {
"file": "jpgfile.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:17:06Z"
}
}
],
"modified": "2026-10-20T13:17:06.638966981Z",
"provider": "osv",
"references": [
"https://github.com/F-ZhaoYang/jhead/commit/5186ddcf9e35a7aa0ff0539489a930434a1325f4",
"https://github.com/Matthias-Wandel/jhead/issues/7",
"https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/1900821",
"https://github.com/F-ZhaoYang/jhead/security/advisories/GHSA-7pr6-xq4f-qhgc"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:jhead_project:jhead:*:*:*:*:*:*:*:*"
],
"vendor_product": "jhead_project:jhead",
"extracted_events": [
{
"range": [
{
"fixed": "3.04"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-26208",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387445,
"published_at": "2022-02-02T12:15:07.783+00:00"
}