CVEfocus › CVE database › CVE-2020-13790

CVE-2020-13790

EPSS 3.2% (higher than 89% of CVEs)Published 2020-06-03Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

32Fixed
1Fix pending
9Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04libjpeg-turboFixed2.0.3-0ubuntu1.20.04.1UBUNTU-CVE-2020-13790
Ubuntu 18.04libjpeg-turboFixed1.5.2-0ubuntu5.18.04.4UBUNTU-CVE-2020-13790
Ubuntu 16.04libjpeg-turboFixed1.4.2-0ubuntu3.4UBUNTU-CVE-2020-13790
Ubuntu 14.04libjpeg-turboFix pending1.3.0-0ubuntu2.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2020-13790
Debian 14libjpeg-turboFixed1:2.0.5-1DEBIAN-CVE-2020-13790
Debian 13libjpeg-turboFixed1:2.0.5-1DEBIAN-CVE-2020-13790
Debian 12libjpeg-turboFixed1:2.0.5-1DEBIAN-CVE-2020-13790
Red Hat Enterprise Linux 8libjpeg-turboFixed0:1.5.3-14.el8_10RHSA-2025:7540
Red Hat Enterprise Linux 8libjpeg-turbo-develFixed0:1.5.3-14.el8_10RHSA-2025:7540
Red Hat Enterprise Linux 8libjpeg-turbo-utilsFixed0:1.5.3-14.el8_10RHSA-2025:7540
Red Hat Enterprise Linux 8turbojpegFixed0:1.5.3-14.el8_10RHSA-2025:7540
Red Hat Enterprise Linux 8turbojpeg-develFixed0:1.5.3-14.el8_10RHSA-2025:7540
Red Hat Enterprise Linux 7libjpeg-turboWill not fix
Will not fix
Red Hat Enterprise Linux 7libjpeg-turbo-develWill not fix
Will not fix
Red Hat Enterprise Linux 7libjpeg-turbo-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libjpeg-turbo-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 7turbojpegWill not fix
Will not fix
Red Hat Enterprise Linux 7turbojpeg-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libjpeg-turboWill not fix
Out of support scope
Red Hat Enterprise Linux 6libjpeg-turbo-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libjpeg-turbo-staticWill not fix
Out of support scope
AlmaLinux 8libjpeg-turboFixed1.5.3-14.el8_10ALSA-2025:7540
AlmaLinux 8libjpeg-turbo-develFixed1.5.3-14.el8_10ALSA-2025:7540
AlmaLinux 8libjpeg-turbo-utilsFixed1.5.3-14.el8_10ALSA-2025:7540
AlmaLinux 8turbojpegFixed1.5.3-14.el8_10ALSA-2025:7540
AlmaLinux 8turbojpeg-develFixed1.5.3-14.el8_10ALSA-2025:7540
Rocky Linux 8libjpeg-turboFixed0:1.5.3-14.el8_10RLSA-2025:7540
Alpine Linux 3.24libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.23libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.22libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.21libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.20libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.19libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.18libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.17libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.16libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.15libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.14libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.13libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.12libjpeg-turboFixed2.0.4-r2ALPINE-CVE-2020-13790
Alpine Linux 3.11libjpeg-turboFixed2.0.4-r1ALPINE-CVE-2020-13790
Alpine Linux 3.10libjpeg-turboFixed2.0.4-r1ALPINE-CVE-2020-13790

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.