{"id":"UBUNTU-CVE-2020-28840","details":"Buffer Overflow vulnerability in jpgfile.c in Matthias-Wandel jhead version 3.04, allows local attackers to execute arbitrary code and cause a denial of service (DoS).","modified":"2025-09-08T16:46:29Z","published":"2023-08-11T14:15:00Z","upstream":["CVE-2020-28840"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-28840"},{"type":"REPORT","url":"https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/1900820"},{"type":"REPORT","url":"https://github.com/Matthias-Wandel/jhead/commit/4827ed31c226dc5ed93603bd649e0e387a1778da"},{"type":"REPORT","url":"https://github.com/Matthias-Wandel/jhead/issues/8"},{"type":"REPORT","url":"https://github.com/Fstark-prog/jhead/security/advisories/GHSA-xh27-xwgj-gqw2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-28840"}],"affected":[{"package":{"name":"jhead","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/jhead@1:2.97-1+deb8u2ubuntu0.1~esm4?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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","1:2.97-1+deb8u2ubuntu0.1~esm2","1:2.97-1+deb8u2ubuntu0.1~esm3","1:2.97-1+deb8u2ubuntu0.1~esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"jhead","binary_version":"1:2.97-1+deb8u2ubuntu0.1~esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28840.json"}},{"package":{"name":"jhead","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/jhead@1:3.00-4+deb9u1ubuntu0.1~esm4?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.00-1","1:3.00-2","1:3.00-3","1:3.00-4+deb9u1build0.16.04.1","1:3.00-4+deb9u1ubuntu0.1~esm1","1:3.00-4+deb9u1ubuntu0.1~esm2","1:3.00-4+deb9u1ubuntu0.1~esm3","1:3.00-4+deb9u1ubuntu0.1~esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"jhead","binary_version":"1:3.00-4+deb9u1ubuntu0.1~esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28840.json"}},{"package":{"name":"jhead","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/jhead@1:3.00-8~ubuntu0.2+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.00-4","1:3.00-5","1:3.00-6","1:3.00-8~build0.18.04.1","1:3.00-8~ubuntu0.1","1:3.00-8~ubuntu0.2","1:3.00-8~ubuntu0.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"jhead","binary_version":"1:3.00-8~ubuntu0.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28840.json"}},{"package":{"name":"jhead","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/jhead@1:3.04-1ubuntu0.2+esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.03-3","1:3.04-1","1:3.04-1ubuntu0.1","1:3.04-1ubuntu0.2","1:3.04-1ubuntu0.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"jhead","binary_version":"1:3.04-1ubuntu0.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28840.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}