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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jhead | 1:3.04-6 | — |
| Debian 13 | jhead | 1:3.04-6 | — |
| Debian 12 | jhead | 1:3.04-6 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | jhead | 1:3.04-1ubuntu0.1 | USN-6098-1 |
| Ubuntu 18.04 LTS | jhead | 1:3.00-8~ubuntu0.1 | USN-6098-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | jhead | 1:3.00-4+deb9u1ubuntu0.1~esm1 | USN-6098-1 |
| Ubuntu Pro 14.04 LTS | jhead | 1:2.97-1+deb8u2ubuntu0.1~esm1 | USN-6098-1 |
Advisories 1
- USN-6098-1 Jhead vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026