Skip to content

CVE-2020-26208 Heap-buffer-overflow in jhead

MediumCVSS 6.1 EPSS 0.89%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 8 fixed.

PackageAffectedFixed inStatus
debian/jhead(Debian 12) < 1:3.04-6 1:3.04-6 Fixed
debian/jhead(Debian 13) < 1:3.04-6 1:3.04-6 Fixed
debian/jhead(Debian 14) < 1:3.04-6 1:3.04-6 Fixed
jhead project jhead < 3.04 3.04 Fixed
ubuntu/jhead(Ubuntu 18.04) < 1:3.00-8~ubuntu0.1; = 1:3.00-4; = 1:3.00-5; = 1:3.00-6 +1 more 1:3.00-8~ubuntu0.1 Fixed
ubuntu/jhead(Ubuntu 20.04) < 1:3.04-1ubuntu0.1; = 1:3.03-3; = 1:3.04-1 1:3.04-1ubuntu0.1 Fixed
ubuntu/jhead(Ubuntu Pro 14.04) < 1:2.97-1+deb8u2ubuntu0.1~esm1; = 1:2.97-1; = 1:2.97-1+deb8u1build0.14.04.1; = 1:2.97-1+deb8u2build0.14.04.1~esm1 1:2.97-1+deb8u2ubuntu0.1~esm1 Fixed
ubuntu/jhead(Ubuntu Pro 16.04) < 1:3.00-4+deb9u1ubuntu0.1~esm1; = 1:3.00-1; = 1:3.00-2; = 1:3.00-3 +1 more 1:3.00-4+deb9u1ubuntu0.1~esm1 Fixed

Affected products

ProductAffected versionsFixed in
debian/jhead(Debian:12) < 1:3.04-6 1:3.04-6
debian/jhead(Debian:13) < 1:3.04-6 1:3.04-6
debian/jhead(Debian:14) < 1:3.04-6 1:3.04-6
jhead project jhead < 3.04 3.04
ubuntu/jhead(Ubuntu:Pro:14.04) < 1:2.97-1+deb8u2ubuntu0.1~esm1 1:2.97-1+deb8u2ubuntu0.1~esm1
ubuntu/jhead(Ubuntu:Pro:14.04) = 1:2.97-1 No fix listed
ubuntu/jhead(Ubuntu:Pro:14.04) = 1:2.97-1+deb8u1build0.14.04.1 No fix listed
ubuntu/jhead(Ubuntu:Pro:14.04) = 1:2.97-1+deb8u2build0.14.04.1~esm1 No fix listed
ubuntu/jhead(Ubuntu:Pro:16.04) < 1:3.00-4+deb9u1ubuntu0.1~esm1 1:3.00-4+deb9u1ubuntu0.1~esm1
ubuntu/jhead(Ubuntu:Pro:16.04) = 1:3.00-1 No fix listed
ubuntu/jhead(Ubuntu:Pro:16.04) = 1:3.00-2 No fix listed
ubuntu/jhead(Ubuntu:Pro:16.04) = 1:3.00-3 No fix listed
ubuntu/jhead(Ubuntu:Pro:16.04) = 1:3.00-4+deb9u1build0.16.04.1 No fix listed
ubuntu/jhead(Ubuntu:18.04) < 1:3.00-8~ubuntu0.1 1:3.00-8~ubuntu0.1
ubuntu/jhead(Ubuntu:18.04) = 1:3.00-4 No fix listed
ubuntu/jhead(Ubuntu:18.04) = 1:3.00-5 No fix listed
ubuntu/jhead(Ubuntu:18.04) = 1:3.00-6 No fix listed
ubuntu/jhead(Ubuntu:18.04) = 1:3.00-8~build0.18.04.1 No fix listed
ubuntu/jhead(Ubuntu:20.04) < 1:3.04-1ubuntu0.1 1:3.04-1ubuntu0.1
ubuntu/jhead(Ubuntu:20.04) = 1:3.03-3 No fix listed
ubuntu/jhead(Ubuntu:20.04) = 1:3.04-1 No fix listed

References