{"id":"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-09-03T08:12:49.468093Z","published":"2020-06-03T19:15:10.817Z","related":["ALSA-2025:7540","SUSE-SU-2020:2569-1","SUSE-SU-2020:2570-1","openSUSE-SU-2020:1413-1","openSUSE-SU-2020:1458-1","openSUSE-SU-2024:10952-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:libjpeg-turbo:libjpeg-turbo:2.0.4:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"2.0.4"},{"last_affected":"2.0.4"}],"source":"CPE_STRING","vendor_product":"libjpeg-turbo:libjpeg-turbo"}]},"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00031.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00062.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00033.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P4D6KNUY7YANSPH7SVQ44PJKSABFKAUB/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6563YHSVZK24MPJXGJVK3CQG7JVWZGK/"},{"type":"WEB","url":"https://usn.ubuntu.com/4386-1/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202010-03"},{"type":"FIX","url":"https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d11d4b90f4a47136467053eb2d09a"},{"type":"EVIDENCE","url":"https://github.com/libjpeg-turbo/libjpeg-turbo/issues/433"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libjpeg-turbo/libjpeg-turbo","events":[{"introduced":"0"},{"fixed":"3de15e0c344d11d4b90f4a47136467053eb2d09a"}],"database_specific":{"source":"REFERENCES"}}],"versions":["jpeg-6b","2.0.4","2.0.3","2.0.2","2.0.1","2.0.0","1.5.90","1.5.0","1.4.90","jpeg-6a","jpeg-6","jpeg-5b","jpeg-5a","jpeg-5","jpeg-4a","jpeg-4","jpeg-3","jpeg-2","jpeg-1","1.3.90","1.2.90","1.1.90","1.0.1","1.0.90","1.0.0","0.0.93","0.0.91","0.0.90"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-13790.json","vanir_signatures_modified":"2026-09-03T08:12:49Z","vanir_signatures":[{"source":"https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d11d4b90f4a47136467053eb2d09a","target":{"file":"rdppm.c"},"deprecated":false,"digest":{"line_hashes":["279960956856796919083660656941318470986","339143231265080250257308579932503053796","131917594966023431801087663642952665251","156807076211336174187134914508724087246","333061502291305840284261457804340431451"],"threshold":0.9},"id":"CVE-2020-13790-4163c7b5","signature_type":"Line","signature_version":"v1"},{"source":"https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d11d4b90f4a47136467053eb2d09a","target":{"function":"start_input_ppm","file":"rdppm.c"},"deprecated":false,"digest":{"function_hash":"100417613708608266563647517534113762204","length":4668},"id":"CVE-2020-13790-ae5bae3c","signature_type":"Function","signature_version":"v1"}]}},{"ranges":[{"type":"GIT","repo":"https://github.com/mozilla/mozjpeg","events":[{"introduced":"d23e3fc58613bc3f0aa395a8c73a2b1e7dae9e25"},{"last_affected":"d23e3fc58613bc3f0aa395a8c73a2b1e7dae9e25"}],"database_specific":{"cpe":"cpe:2.3:a:mozilla:mozjpeg:4.0.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.0.0"},{"last_affected":"4.0.0"}],"source":"CPE_STRING"}}],"versions":["4.0.0","v4.0.1-rc2","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-13790.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"}]}