Description
The ProcessGpsInfo function of the gpsinfo.c file of jhead 3.00 may allow a remote attacker to cause a denial-of-service attack or unspecified other impact via a malicious JPEG file, because of inconsistency between float and double in a sprintf format string during TAG_GPS_ALT handling.
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.00-8 | — |
| Debian 13 | jhead | 1:3.00-8 | — |
| Debian 12 | jhead | 1:3.00-8 | — |
| Debian 8 | jhead | 1:2.97-1+deb8u2 | DLA-2054-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | jhead | 1:3.00-8~build0.18.04.1 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | jhead | 1:2.97-1+deb8u2build0.14.04.1~esm1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP2 | jhead | 3.06.0.1-bp152.4.6.1 | openSUSE-SU-2021:0752-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | jhead | 3.06.0.1-1.3 | openSUSE-SU-2024:10880-1 |
| openSUSE Leap 15.2 | jhead | 3.06.0.1-lp152.7.6.1 | openSUSE-SU-2021:0743-1 |
Advisories 4
- DLA-2054-1 jhead - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2021:0743-1 Security update for jhead SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10880-1 jhead-3.06.0.1-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0752-1 Security update for jhead SUSE / openSUSE Security Updates · May 7, 2025