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.
References (4)
Core 4
Core References
Exploit, Third Party Advisory x_refsource_misc
https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/1900821
Patch, Third Party Advisory x_refsource_misc
https://github.com/Matthias-Wandel/jhead/issues/7
Patch, Third Party Advisory x_refsource_misc
https://github.com/F-ZhaoYang/jhead/commit/5186ddcf9e35a7aa0ff0539489a930434a1325f4
Exploit, Third Party Advisory x_refsource_confirm
https://github.com/F-ZhaoYang/jhead/security/advisories/GHSA-7pr6-xq4f-qhgc
Scores
CVSS v3
5.3
EPSS
0.0009
EPSS Percentile
25.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-787
Status
published
Products (1)
jhead_project/jhead
< 3.04
Published
Feb 02, 2022
Tracked Since
Feb 18, 2026