CVE-2020-6624
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.1
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.
- Record
CVE-2020-6624- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.
- Record
CVE-2020-6624- Updated
- 2026-11-02
EUVDEUVD-2020-27772 No score
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.
- Record
EUVD-2020-27772- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2w8m-f4xv-fpww
7.1
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.
- Record
GHSA-2w8m-f4xv-fpww- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
7.1
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.
- Record
CVE-2020-6624- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-6624
7.1
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.
- Record
DEBIAN-CVE-2020-6624- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2020-6624
7.1
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.
- Record
UBUNTU-CVE-2020-6624- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2021-0328 No score
Updated jhead packages fix security vulnerabilities
Updated jhead package fixes security vulnerabilities:
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c (CVE-2020-6624).
jhead through 3.04 has a heap-based buffer over-read in Get32s when called from ProcessGpsInfo in gpsinfo.c (CVE-2020-6625).
A heap-based buffer overflow was found in jhead in version 3.06 in Get16u() in exif.c when processing a crafted file (CVE-2021-3496).
- Record
MGASA-2021-0328- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0743-1 No score
Security update for jhead
This update for jhead fixes the following issues:
jhead was updated to 3.06.0.1
- lot of fuzztest fixes
- Apply a whole bunch of patches from Debian.
- Spell check and fuzz test stuff from Debian, nothing useful to human users.
- Add option to set exif date from date from another file.
- Bug fixes relating to fuzz testing.
- Fix bug where thumbnail replacement DID NOT WORK.
- Fix bug when no orientation tag is present
- Fix bug of not clearing exif information when processing images with an without exif data in one invocation.
- Remove some unnecessary warnings with some types of GPS data
- Remove multiple copies of the same type of section when deleting section types
- Record
openSUSE-SU-2021:0743-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0752-1 No score
Security update for jhead
This update for jhead fixes the following issues:
jhead was updated to 3.06.0.1
- lot of fuzztest fixes
- Apply a whole bunch of patches from Debian.
- Spell check and fuzz test stuff from Debian, nothing useful to human users.
- Add option to set exif date from date from another file.
- Bug fixes relating to fuzz testing.
- Fix bug where thumbnail replacement DID NOT WORK.
- Fix bug when no orientation tag is present
- Fix bug of not clearing exif information when processing images with an without exif data in one invocation.
- Remove some unnecessary warnings with some types of GPS data
- Remove multiple copies of the same type of section when deleting section types
This update was imported from the openSUSE:Leap:15.2:Update update project.
- Record
openSUSE-SU-2021:0752-1- Updated
- 2026-11-02
OSVUSN-6098-1 No score
Jhead vulnerabilities
It was discovered that Jhead did not properly handle certain crafted images while processing the JFIF markers. An attacker could cause Jhead to crash. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 18.04 LTS. (CVE-2019-19035)
It was discovered that Jhead did not properly handle certain crafted images while processing longitude tags. An attacker could cause Jhead to crash. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-1010301)
It was discovered that Jhead did not properly handle certain crafted images while processing IPTC data. An attacker could cause Jhead to crash. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-1010302)
Binbin Li discovered that Jhead did not properly handle certain crafted images while processing the DQT data. An attacker could cause Jhead to crash. (CVE-2020-6624)
Binbin Li discovered that Jhead did not properly handle certain crafted images while processing longitude data. An attacker could cause Jhead to crash. (CVE-2020-6625)
Feng Zhao Yang discovered that Jhead did not properly handle certain crafted images while reading JPEG sections. An attacker could cause Jhead to crash. (CVE-2020-26208)
It was discovered that Jhead did not properly handle certain crafted images while processing Canon images. An attacker could cause Jhead to crash. (CVE-2021-28276)
It was discovered that Jhead did not properly handle certain crafted images when removing a certain type of sections. An attacker could cause Jhead to crash. (CVE-2021-28278)
- Record
USN-6098-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
jheadDebian:12 |
All versions, plus listed versions 1:3.06.0.1-61:3.08-11:3.08-21:3.08-3 |
None known |
jheadDebian:13 |
All versions, plus listed versions 1:3.08-3 |
None known |
jheadDebian:14 |
All versions, plus listed versions 1:3.08-3 |
None known |
jheadMageia:7 From an advisory covering 3 CVEs |
before 3.06.0.1-1.mga7 | 3.06.0.1-1.mga7 |
jheadMageia:8 From an advisory covering 3 CVEs |
before 3.06.0.1-1.mga8 | 3.06.0.1-1.mga8 |
jheadUbuntu:Pro:14.04:LTS |
before 1:2.97-1+deb8u2ubuntu0.1~esm1, plus listed versions 1:2.97-11:2.97-1+deb8u1build0.14.04.11:2.97-1+deb8u2build0.14.04.1~esm1 |
1:2.97-1+deb8u2ubuntu0.1~esm1 |
jheadUbuntu:Pro:16.04:LTS |
before 1:3.00-4+deb9u1ubuntu0.1~esm1, plus listed versions 1:3.00-11:3.00-21:3.00-31:3.00-4+deb9u1build0.16.04.1 |
1:3.00-4+deb9u1ubuntu0.1~esm1 |
jheadUbuntu:18.04:LTS |
before 1:3.00-8~ubuntu0.1, plus listed versions 1:3.00-41:3.00-51:3.00-61:3.00-8~build0.18.04.1 |
1:3.00-8~ubuntu0.1 |
jheadUbuntu:20.04:LTS |
before 1:3.04-1ubuntu0.1, plus listed versions 1:3.03-31:3.04-1 |
1:3.04-1ubuntu0.1 |
jheadUbuntu:Pro:14.04:LTS From an advisory covering 8 CVEs |
before 1:2.97-1+deb8u2ubuntu0.1~esm1, plus listed versions 1:2.97-11:2.97-1+deb8u1build0.14.04.11:2.97-1+deb8u2build0.14.04.1~esm1 |
1:2.97-1+deb8u2ubuntu0.1~esm1 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
jheadUbuntu:Pro:16.04:LTS From an advisory covering 8 CVEs |
before 1:3.00-4+deb9u1ubuntu0.1~esm1, plus listed versions 1:3.00-11:3.00-21:3.00-31:3.00-4+deb9u1build0.16.04.1 |
1:3.00-4+deb9u1ubuntu0.1~esm1 |
jheadUbuntu:18.04:LTS From an advisory covering 8 CVEs |
before 1:3.00-8~ubuntu0.1, plus listed versions 1:3.00-41:3.00-51:3.00-61:3.00-8~build0.18.04.1 |
1:3.00-8~ubuntu0.1 |
jheadUbuntu:20.04:LTS From an advisory covering 8 CVEs |
before 1:3.04-1ubuntu0.1, plus listed versions 1:3.03-31:3.04-1 |
1:3.04-1ubuntu0.1 |
jheadopenSUSE:Leap 15.2 From an advisory covering 9 CVEs |
before 3.06.0.1-lp152.7.6.1 | 3.06.0.1-lp152.7.6.1 |
jheadSUSE:Package Hub 15 SP2 From an advisory covering 9 CVEs |
before 3.06.0.1-bp152.4.6.1 | 3.06.0.1-bp152.4.6.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-6624 is a high vulnerability (CVSS 7.1) in Jhead Project Jhead, published January 9, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.43%, the 73rd percentile. Fixed in jhead 1:2.97-1+deb8u2ubuntu0.1~esm1.
References
bugs.launchpad.net/ubuntu/+source/jhead/+bug/1858744
security.gentoo.org/glsa/202007-17
bugs.gentoo.org/711220
bugs.gentoo.org/876247
nvd.nist.gov/vuln/detail/CVE-2020-6624
github.com/advisories/GHSA-2w8m-f4xv-fpww
Show 29 moreShow less
security-tracker.debian.org/tracker/CVE-2020-6624
advisories.mageia.org/MGASA-2021-0328.html
bugs.mageia.org/show_bug.cgi?id=29053
lists.opensuse.org/archives/list/[email protected]/thread/SCW5XBSBEM6OUDLCSLS5UW7BSRNESS4J
lists.opensuse.org/archives/list/[email protected]/thread/JPTEPBJVJFSKKHSTZER2JVIMRP7MGN2C
ubuntu.com/security/CVE-2020-6624
ubuntu.com/security/notices/USN-6098-1
cve.org/CVERecord?id=CVE-2020-6624
ubuntu.com/security/CVE-2019-19035
ubuntu.com/security/CVE-2019-1010301
ubuntu.com/security/CVE-2019-1010302
ubuntu.com/security/CVE-2020-6625
ubuntu.com/security/CVE-2020-26208
ubuntu.com/security/CVE-2021-28276
ubuntu.com/security/CVE-2021-28278
bugzilla.suse.com/1144316
bugzilla.suse.com/1144354
bugzilla.suse.com/1160544
bugzilla.suse.com/1160547
suse.com/security/cve/CVE-2016-3822
suse.com/security/cve/CVE-2018-16554
suse.com/security/cve/CVE-2018-17088
suse.com/security/cve/CVE-2018-6612
suse.com/security/cve/CVE-2019-1010301
suse.com/security/cve/CVE-2019-1010302
suse.com/security/cve/CVE-2020-6624
suse.com/security/cve/CVE-2020-6625
suse.com/security/cve/CVE-2021-3496
lists.opensuse.org/archives/list/[email protected]/thread/3GBTHCPCHWJ3JG5IDEDAYSW5LVUEVXYH