Skip to content
OpenAdvisories
Medium · 5.3 CVE-2020-26208 EUVD-2020-18833

Heap-buffer-overflow in jhead

Published Feb 2, 2022 · Updated May 5, 2025 · 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.

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.

ReleasePackageFixed inAdvisory
Debian 14 jhead 1:3.04-6 —
Debian 13 jhead 1:3.04-6 —
Debian 12 jhead 1:3.04-6 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

References