{"id":"UBUNTU-CVE-2020-13790","details":"libjpeg-turbo 2.0.4, and mozjpeg 4.0.0, has a heap-based buffer over-read in get_rgb_row() in rdppm.c via a malformed PPM input file.","modified":"2026-04-22T14:02:53.225909Z","published":"2020-06-03T19:15:00Z","related":["USN-4386-1"],"upstream":["CVE-2020-13790"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-13790"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4386-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-13790"}],"affected":[{"package":{"name":"libjpeg-turbo","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libjpeg-turbo@1.3.0-0ubuntu2.1+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-0ubuntu2.1+esm1"}]}],"versions":["1.3.0-0ubuntu1","1.3.0-0ubuntu2","1.3.0-0ubuntu2.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libjpeg-turbo-progs","binary_version":"1.3.0-0ubuntu2.1+esm1"},{"binary_name":"libjpeg-turbo-test","binary_version":"1.3.0-0ubuntu2.1+esm1"},{"binary_name":"libjpeg-turbo8","binary_version":"1.3.0-0ubuntu2.1+esm1"},{"binary_name":"libturbojpeg","binary_version":"1.3.0-0ubuntu2.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-13790.json"}},{"package":{"name":"libjpeg-turbo","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libjpeg-turbo@1.4.2-0ubuntu3.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-0ubuntu3.4"}]}],"versions":["1.3.0-0ubuntu2","1.4.2-0ubuntu1","1.4.2-0ubuntu2","1.4.2-0ubuntu3","1.4.2-0ubuntu3.1","1.4.2-0ubuntu3.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libjpeg-turbo-progs","binary_version":"1.4.2-0ubuntu3.4"},{"binary_name":"libjpeg-turbo-test","binary_version":"1.4.2-0ubuntu3.4"},{"binary_name":"libjpeg-turbo8","binary_version":"1.4.2-0ubuntu3.4"},{"binary_name":"libturbojpeg","binary_version":"1.4.2-0ubuntu3.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-13790.json"}},{"package":{"name":"libjpeg-turbo","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libjpeg-turbo@1.5.2-0ubuntu5.18.04.4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2-0ubuntu5.18.04.4"}]}],"versions":["1.5.2-0ubuntu5","1.5.2-0ubuntu5.18.04.1","1.5.2-0ubuntu5.18.04.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libjpeg-turbo-progs","binary_version":"1.5.2-0ubuntu5.18.04.4"},{"binary_name":"libjpeg-turbo-test","binary_version":"1.5.2-0ubuntu5.18.04.4"},{"binary_name":"libjpeg-turbo8","binary_version":"1.5.2-0ubuntu5.18.04.4"},{"binary_name":"libturbojpeg","binary_version":"1.5.2-0ubuntu5.18.04.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-13790.json"}},{"package":{"name":"libjpeg-turbo","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libjpeg-turbo@2.0.3-0ubuntu1.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.3-0ubuntu1.20.04.1"}]}],"versions":["2.0.3-0ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libjpeg-turbo-progs","binary_version":"2.0.3-0ubuntu1.20.04.1"},{"binary_name":"libjpeg-turbo-test","binary_version":"2.0.3-0ubuntu1.20.04.1"},{"binary_name":"libjpeg-turbo8","binary_version":"2.0.3-0ubuntu1.20.04.1"},{"binary_name":"libturbojpeg","binary_version":"2.0.3-0ubuntu1.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-13790.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}