CVE-2020-13790 json
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.
published 6y ago modified 4mo ago also EUVD-2020-6006
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.2%
- EPSS 3.2% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libjpeg-turbo Debian 14, Debian 13, Debian 12 1:2.0.5-1
debian advisories DEBIAN-CVE-2020-13790
- libjpeg-turbo Ubuntu 16.04 LTS 1.4.2-0ubuntu3.4
- libjpeg-turbo Ubuntu 18.04 LTS 1.5.2-0ubuntu5.18.04.4
- libjpeg-turbo Ubuntu 20.04 LTS 2.0.3-0ubuntu1.20.04.1
- libjpeg-turbo Ubuntu Pro 14.04 LTS 1.3.0-0ubuntu2.1+esm1
ubuntu advisories UBUNTU-CVE-2020-13790
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libjpeg-turbo RHEL 8 1.5.3-14.el8_10
- turbojpeg RHEL 8 1.5.3-14.el8_10
- libjpeg-turbo-utils RHEL 8 1.5.3-14.el8_10
red hat advisories RHSA-2025:7540
- libjpeg-turbo SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.5.3-31.22.2
- libjpeg62-turbo SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.5.3-31.22.2
- libjpeg-turbo SLE Module for Package Hub 15 SP2, SLE Module for Package Hub 15 SP1, SLE Module for Desktop Applications 15 SP2 +3 more 1.5.3-5.15.7
- libjpeg62-turbo SLE Module for Basesystem 15 SP2, SLE Module for Basesystem 15 SP1 1.5.3-5.15.7
suse advisories SUSE-SU-2020:2570-1SUSE-SU-2020:2569-1
- libjpeg-turbo openSUSE Tumbleweed 8.2.2-65.2
- libjpeg-turbo openSUSE Leap 15.2 1.5.3-lp152.8.3.1
- libjpeg62-turbo openSUSE Leap 15.2 1.5.3-lp152.8.3.1
- libjpeg-turbo openSUSE Leap 15.1 1.5.3-lp151.6.6.1
- libjpeg62-turbo openSUSE Leap 15.1 1.5.3-lp151.6.6.1
opensuse advisories openSUSE-SU-2024:10952-1openSUSE-SU-2020:1458-1openSUSE-SU-2020:1413-1
- libjpeg-turbo AlmaLinux 8 1.5.3-14.el8_10
- turbojpeg AlmaLinux 8 1.5.3-14.el8_10
- libjpeg-turbo-utils AlmaLinux 8 1.5.3-14.el8_10
almalinux advisories ALSA-2025:7540
- libjpeg-turbo Rocky Linux 8 1.5.3-14.el8_10
rocky linux advisories RLSA-2025:7540
- libjpeg-turbo Alpine 3.11, Alpine 3.10 2.0.4-r1
- libjpeg-turbo Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.0.4-r2
alpine advisories ALPINE-CVE-2020-13790
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2020-13790 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-13790 updated cvss 8.1
libjpeg-turbo: heap-based buffer over-read in get_rgb_row() in rdppm.c
-
Red Hat Enterprise Linux 6 libjpeg-turboaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 turbojpeg, libjpeg-turbo, libjpeg-turbo-utilsaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) turbojpeg 1.5.3-14.el8_10, libjpeg-turbo 1.5.3-14.el8_10, libjpeg-turbo-utils 1.5.3-14.el8_10 Red Hat Enterprise Linux CRB (v. 8) turbojpeg-devel 1.5.3-14.el8_10, turbojpeg-debuginfo 1.5.3-14.el8_10, libjpeg-turbo-debuginfo 1.5.3-14.el8_10, libjpeg-turbo-debugsource 1.5.3-14.el8_10, libjpeg-turbo-utils-debuginfo 1.5.3-14.el8_10fixed: vendor fix RHSA-2025:7540
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.18% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/libjpeg-turbo/libjpeg-turbo/issues/433 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d11d4b90f4a47136467053eb2d09a
patch, third-party-advisory
-
github.com
/libjpeg-turbo/libjpeg-turbo/issues/433
exploit, third-party-advisory
-
usn.ubuntu.com
/4386-1/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/P4D6KNUY7YANSPH7SVQ44PJKSABFKAUB/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/U6563YHSVZK24MPJXGJVK3CQG7JVWZGK/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-09/msg00031.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-09/msg00062.html
vendor-advisory
-
security.gentoo.org
/glsa/202010-03
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2020/07/msg00033.html
mailing-list
Sources
- CVE List CVE-2020-13790
- NVD CVE-2020-13790
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.