CVE-2020-26208Heap-buffer-overflow in jhead
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | jhead | Fixed | 1:3.04-1ubuntu0.1 | UBUNTU-CVE-2020-26208 |
| Ubuntu 18.04 | jhead | Fixed | 1:3.00-8~ubuntu0.1 | UBUNTU-CVE-2020-26208 |
| Ubuntu 16.04 | jhead | Fix pending | 1:3.00-4+deb9u1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-26208 |
| Ubuntu 14.04 | jhead | Fix pending | 1:2.97-1+deb8u2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-26208 |
| Debian 14 | jhead | Fixed | 1:3.04-6 | DEBIAN-CVE-2020-26208 |
| Debian 13 | jhead | Fixed | 1:3.04-6 | DEBIAN-CVE-2020-26208 |
| Debian 12 | jhead | Fixed | 1:3.04-6 | DEBIAN-CVE-2020-26208 |
References
- https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/1900821
- https://github.com/Matthias-Wandel/jhead/issues/7
- https://github.com/F-ZhaoYang/jhead/commit/5186ddcf9e35a7aa0ff0539489a930434a1325f4
- https://github.com/F-ZhaoYang/jhead/security/advisories/GHSA-7pr6-xq4f-qhgc
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.