CVEfocus › CVE database › CVE-2020-35538

CVE-2020-35538

CVSS 5.5 MediumEPSS 0.3% (higher than 14% of CVEs)Published 2022-08-31Updated 2026-11-02Assigner: redhat

A crafted input file could cause a null pointer dereference in jcopy_sample_rows() when processed by libjpeg-turbo.

CWE-476

What to do

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

Red Hat, Ubuntu have 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

13Fixed
6Fix pending
15Not affected

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 22.04libjpeg-turboNot affected
vulnerable_code_not_present
Ubuntu 20.04libjpeg-turboFixed2.0.3-0ubuntu1.20.04.3UBUNTU-CVE-2020-35538
Ubuntu 18.04libjpeg-turboFixed1.5.2-0ubuntu5.18.04.6UBUNTU-CVE-2020-35538
Ubuntu 16.04libjpeg-turboFix pending
Debian 14libjpeg-turboFixed1:2.0.6-1DEBIAN-CVE-2020-35538
Debian 13libjpeg-turboFixed1:2.0.6-1DEBIAN-CVE-2020-35538
Debian 12libjpeg-turboFixed1:2.0.6-1DEBIAN-CVE-2020-35538
Red Hat Enterprise Linux 9libjpeg-turboNot affected
Red Hat Enterprise Linux 9libjpeg-turbo-develNot affected
Red Hat Enterprise Linux 9libjpeg-turbo-utilsNot affected
Red Hat Enterprise Linux 9turbojpegNot affected
Red Hat Enterprise Linux 9turbojpeg-develNot affected
Red Hat Enterprise Linux 8libjpeg-turboFix pending
Fix deferred
Red Hat Enterprise Linux 8libjpeg-turbo-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libjpeg-turbo-utilsFix pending
Fix deferred
Red Hat Enterprise Linux 8turbojpegFix pending
Fix deferred
Red Hat Enterprise Linux 8turbojpeg-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libjpeg-turboNot affected
Red Hat Enterprise Linux 7libjpeg-turbo-develNot affected
Red Hat Enterprise Linux 7libjpeg-turbo-staticNot affected
Red Hat Enterprise Linux 7libjpeg-turbo-utilsNot affected
Red Hat Enterprise Linux 7turbojpegNot affected
Red Hat Enterprise Linux 7turbojpeg-develNot affected
Red Hat Enterprise Linux 6libjpeg-turboNot affected
Red Hat Enterprise Linux 6libjpeg-turbo-develNot affected
Red Hat Enterprise Linux 6libjpeg-turbo-staticNot affected
Alpine Linux 3.24libjpeg-turboFixed2.0.6-r0ALPINE-CVE-2020-35538
Alpine Linux 3.23libjpeg-turboFixed2.0.6-r0ALPINE-CVE-2020-35538
Alpine Linux 3.22libjpeg-turboFixed2.0.6-r0ALPINE-CVE-2020-35538
Alpine Linux 3.21libjpeg-turboFixed2.0.6-r0ALPINE-CVE-2020-35538
Alpine Linux 3.20libjpeg-turboFixed2.0.6-r0ALPINE-CVE-2020-35538
Alpine Linux 3.19libjpeg-turboFixed2.0.6-r0ALPINE-CVE-2020-35538
Alpine Linux 3.18libjpeg-turboFixed2.0.6-r0ALPINE-CVE-2020-35538
Alpine Linux 3.17libjpeg-turboFixed2.0.6-r0ALPINE-CVE-2020-35538

What the vendor says

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

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.