5.3medium
Heap-buffer-overflow in jhead
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.92% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| jhead_project jhead | before 3.04 | NVD |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
JHEAD es una sencilla herramienta de línea de comandos para la visualización y determinada manipulación de los datos de encabezados EXIF insertados en las imágenes Jpeg de las cámaras digitales. En las versiones afectadas se presenta un desbordamiento del búfer de la pila en jhead-3.04/jpgfile.c:285 ReadJpegSections. Las imágenes jpeg diseñadas pueden ser proporcionadas al usuario resultando en un bloqueo del programa o en la recuperación de información exif potencialmente incorrecta. Se recomienda a usuarios actualizar. No es conocida alguna medida de mitigación adicional para este problema
References
| https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/1900821 | 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 | |
| https://github.com/F-ZhaoYang/jhead/security/advisories/GHSA-7pr6-xq4f-qhgc | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26208 changed 2025-05-05 | CVE Terms of Use |
| NVD | CVE-2020-26208 changed 2026-06-17 | Public domain |