{"id":"CVE-2020-6624","aliases":["DEBIAN-CVE-2020-6624","EUVD-2020-27772","GHSA-2w8m-f4xv-fpww","MGASA-2021-0328","UBUNTU-CVE-2020-6624","USN-6098-1","openSUSE-SU-2021:0743-1","openSUSE-SU-2021:0752-1"],"status":"published","title":"jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.","description":"jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01429,"percentile":0.73188,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2020-01-09T00:00:00Z","modified":"2026-10-26T12:02:51Z","fixes":[{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"jhead","fixed_in":["1:2.97-1+deb8u2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"jhead","fixed_in":["1:3.00-4+deb9u1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"jhead","fixed_in":["1:3.00-8~ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"jhead","fixed_in":["1:3.04-1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.06.0.1-6","1:3.08-1","1:3.08-2","1:3.08-3"]},{"source":"osv","ecosystem":"Debian:13","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.08-3"]},{"source":"osv","ecosystem":"Debian:14","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.08-3"]},{"source":"osv","ecosystem":"Mageia:7","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-1.mga7"}]}],"bundled":3},{"source":"osv","ecosystem":"Mageia:8","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-1.mga8"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.97-1+deb8u2ubuntu0.1~esm1"}]}],"versions":["1:2.97-1","1:2.97-1+deb8u1build0.14.04.1","1:2.97-1+deb8u2build0.14.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-4+deb9u1ubuntu0.1~esm1"}]}],"versions":["1:3.00-1","1:3.00-2","1:3.00-3","1:3.00-4+deb9u1build0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-8~ubuntu0.1"}]}],"versions":["1:3.00-4","1:3.00-5","1:3.00-6","1:3.00-8~build0.18.04.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.04-1ubuntu0.1"}]}],"versions":["1:3.03-3","1:3.04-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.97-1+deb8u2ubuntu0.1~esm1"}]}],"versions":["1:2.97-1","1:2.97-1+deb8u1build0.14.04.1","1:2.97-1+deb8u2build0.14.04.1~esm1"],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-4+deb9u1ubuntu0.1~esm1"}]}],"versions":["1:3.00-1","1:3.00-2","1:3.00-3","1:3.00-4+deb9u1build0.16.04.1"],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.00-8~ubuntu0.1"}]}],"versions":["1:3.00-4","1:3.00-5","1:3.00-6","1:3.00-8~build0.18.04.1"],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.04-1ubuntu0.1"}]}],"versions":["1:3.03-3","1:3.04-1"],"bundled":8},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-lp152.7.6.1"}]}],"bundled":9},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP2","package":"jhead","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06.0.1-bp152.4.6.1"}]}],"bundled":9}],"products":[{"vendor":"jhead_project","product":"jhead"}],"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/1858744","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://security.gentoo.org/glsa/202007-17","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugs.gentoo.org/711220#c3","tags":["x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://bugs.gentoo.org/876247#c0","tags":["x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-6624"},{"url":"https://github.com/advisories/GHSA-2w8m-f4xv-fpww"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-6624","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0328.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29053","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/SCW5XBSBEM6OUDLCSLS5UW7BSRNESS4J/","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JPTEPBJVJFSKKHSTZER2JVIMRP7MGN2C/","tags":["web","advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-6624","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6098-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-6624","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-19035","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-1010301","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-1010302","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-6625","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-26208","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-28276","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-28278","tags":["report"]},{"url":"https://bugzilla.suse.com/1144316","tags":["report"]},{"url":"https://bugzilla.suse.com/1144354","tags":["report"]},{"url":"https://bugzilla.suse.com/1160544","tags":["report"]},{"url":"https://bugzilla.suse.com/1160547","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3822","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16554","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-17088","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6612","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1010301","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1010302","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-6624","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-6625","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-3496","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/3GBTHCPCHWJ3JG5IDEDAYSW5LVUEVXYH/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2020-6624","description":"jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.","status":"published","published":"2020-01-09T00:00:00Z","modified":"2024-08-04T09:11:04.741Z","updated_at":"2026-11-02T14:35:52.268457Z"}],"euvd":[{"id":"EUVD-2020-27772","description":"jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.","status":"published","published":"2020-01-09T00:00:00Z","modified":"2024-08-04T09:11:04Z","updated_at":"2026-11-03T03:08:02.022514Z"}],"ghsa":[{"id":"GHSA-2w8m-f4xv-fpww","title":"jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.","description":"jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.","status":"published","published":"2022-05-24T17:06:00Z","modified":"2023-02-03T05:01:53Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:53:03.850376Z"}],"nvd":[{"id":"CVE-2020-6624","description":"jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.","status":"published","published":"2020-01-09T01:15:16.743Z","modified":"2026-06-17T03:23:41.493Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:05:52.385274Z"}],"osv":[{"id":"CVE-2020-6624","description":"jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.","status":"published","published":"2020-01-09T01:15:16.743Z","modified":"2026-04-16T04:37:50.377615805Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"DEBIAN-CVE-2020-6624","description":"jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.","status":"published","published":"2020-01-09T01:15:16.743Z","modified":"2026-10-26T12:02:51.37620841Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.311861Z"},{"id":"UBUNTU-CVE-2020-6624","description":"jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c.","status":"published","published":"2020-01-09T01:15:00Z","modified":"2026-02-04T04:23:20.367003Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:25.728622Z"},{"id":"MGASA-2021-0328","title":"Updated jhead packages fix security vulnerabilities","description":"Updated jhead package fixes security vulnerabilities:\n\njhead through 3.04 has a heap-based buffer over-read in process_DQT in\njpgqguess.c (CVE-2020-6624).\n\njhead through 3.04 has a heap-based buffer over-read in Get32s when called\nfrom ProcessGpsInfo in gpsinfo.c (CVE-2020-6625).\n\nA heap-based buffer overflow was found in jhead in version 3.06 in Get16u()\nin exif.c when processing a crafted file (CVE-2021-3496).\n","status":"published","published":"2021-07-10T12:56:54Z","modified":"2026-04-16T04:40:42.593098059Z","updated_at":"2026-11-02T15:49:41.509337Z"},{"id":"openSUSE-SU-2021:0743-1","title":"Security update for jhead","description":"This update for jhead fixes the following issues:\n\njhead was updated to 3.06.0.1\n\n* lot of fuzztest fixes\n* Apply a whole bunch of patches from Debian.\n* Spell check and fuzz test stuff from Debian, nothing useful to\n  human users.\n* Add option to set exif date from date from another file.\n* Bug fixes relating to fuzz testing.\n* Fix bug where thumbnail replacement DID NOT WORK.\n* Fix bug when no orientation tag is present\n* Fix bug of not clearing exif information when processing images\n  with an without exif data in one invocation.\n* Remove some unnecessary warnings with some types of GPS data\n* Remove multiple copies of the same type of section when deleting\n  section types\n","status":"published","published":"2021-05-16T14:04:45Z","modified":"2026-02-04T03:30:44.335378Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"openSUSE-SU-2021:0752-1","title":"Security update for jhead","description":"This update for jhead fixes the following issues:\n\njhead was updated to 3.06.0.1\n\n* lot of fuzztest fixes\n* Apply a whole bunch of patches from Debian.\n* Spell check and fuzz test stuff from Debian, nothing useful to\n  human users.\n* Add option to set exif date from date from another file.\n* Bug fixes relating to fuzz testing.\n* Fix bug where thumbnail replacement DID NOT WORK.\n* Fix bug when no orientation tag is present\n* Fix bug of not clearing exif information when processing images\n  with an without exif data in one invocation.\n* Remove some unnecessary warnings with some types of GPS data\n* Remove multiple copies of the same type of section when deleting\n  section types\n\nThis update was imported from the openSUSE:Leap:15.2:Update update project.","status":"published","published":"2021-05-19T16:05:20Z","modified":"2025-05-07T18:09:19.930154Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"USN-6098-1","title":"Jhead vulnerabilities","description":"It was discovered that Jhead did not properly handle certain crafted images\nwhile processing the JFIF markers. An attacker could cause Jhead to crash. This\nissue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 18.04 LTS.\n(CVE-2019-19035)\n\nIt was discovered that Jhead did not properly handle certain crafted images\nwhile processing longitude tags. An attacker could cause Jhead to crash. This\nissue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-1010301)\n\nIt was discovered that Jhead did not properly handle certain crafted images\nwhile processing IPTC data. An attacker could cause Jhead to crash. This\nissue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-1010302)\n\nBinbin Li discovered that Jhead did not properly handle certain crafted images\nwhile processing the DQT data. An attacker could cause Jhead to crash.\n(CVE-2020-6624)\n\nBinbin Li discovered that Jhead did not properly handle certain crafted images\nwhile processing longitude data. An attacker could cause Jhead to crash.\n(CVE-2020-6625)\n\nFeng Zhao Yang discovered that Jhead did not properly handle certain crafted\nimages while reading JPEG sections. An attacker could cause Jhead to crash.\n(CVE-2020-26208)\n\nIt was discovered that Jhead did not properly handle certain crafted images\nwhile processing Canon images. An attacker could cause Jhead to crash.\n(CVE-2021-28276)\n\nIt was discovered that Jhead did not properly handle certain crafted images\nwhen removing a certain type of sections. An attacker could cause Jhead to\ncrash. (CVE-2021-28278)\n","status":"published","published":"2023-05-23T14:23:32Z","modified":"2026-06-29T13:50:52.211537126Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
