Every CVE Search/ Get API key

CVE-2020-6624

jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.

7.1 HighFix available

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

1.43%Up 0.8 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS 2.0
5.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
jhead
Debian:12
All versions, plus listed versions
1:3.06.0.1-61:3.08-11:3.08-21:3.08-3
None known
jhead
Debian:13
All versions, plus listed versions
1:3.08-3
None known
jhead
Debian:14
All versions, plus listed versions
1:3.08-3
None known
jhead
Mageia:7
From an advisory covering 3 CVEs
before 3.06.0.1-1.mga7
3.06.0.1-1.mga7
jhead
Mageia:8
From an advisory covering 3 CVEs
before 3.06.0.1-1.mga8
3.06.0.1-1.mga8
jhead
Ubuntu: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
jhead
Ubuntu: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
jhead
Ubuntu: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
jhead
Ubuntu:20.04:LTS
before 1:3.04-1ubuntu0.1, plus listed versions
1:3.03-31:3.04-1
1:3.04-1ubuntu0.1
jhead
Ubuntu: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
Affected packages
PackageAffectedFixed
jhead
Ubuntu: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
jhead
Ubuntu: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
jhead
Ubuntu: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
jhead
openSUSE: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
jhead
SUSE: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

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 29 moreShow less
MoveEnter Open