# CVE-2020-26208: Heap-buffer-overflow in jhead

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-02-02T11:51:22.000Z
- Modified: 2026-06-17T03:07:49.580Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- jhead_project jhead: before 3.04

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:P`

## References

- <https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/1900821> (exploit, third-party-advisory)
- <https://github.com/F-ZhaoYang/jhead/security/advisories/GHSA-7pr6-xq4f-qhgc> (exploit, third-party-advisory)
- <https://github.com/Matthias-Wandel/jhead/issues/7> (patch, third-party-advisory)
- <https://github.com/F-ZhaoYang/jhead/commit/5186ddcf9e35a7aa0ff0539489a930434a1325f4> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2020-26208](https://www.cve.org/CVERecord?id=CVE-2020-26208), CVE Terms of Use, modified 2025-05-05
- NVD: [CVE-2020-26208](https://nvd.nist.gov/vuln/detail/CVE-2020-26208), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26208 · Whole record: https://cve.day/CVE-2020-26208.json · Rebuilt by cve.day 2026-11-25T22:57:58.596Z
