CVE-2020-35538 Null dereference in libjpeg-turbo

Medium 5.5 Published Updated

A crafted input file causes a null pointer dereference in libjpeg-turbo, leading to a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-35538?

CVE-2020-35538 is a medium-severity vulnerability in libjpeg-turbo, published on 31 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-476

Which versions are affected by CVE-2020-35538?

It affects 1 product.

Linux distribution packages (16)
libjpeg-turbo SUSE:Linux Enterprise Micro 5.1All versions1.5.3-150000.32.5.1
libjpeg-turbo SUSE:Linux Enterprise Micro 5.2All versions1.5.3-150000.32.5.1
libjpeg-turbo SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions1.5.3-150000.32.5.1
libjpeg62-turbo SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions1.5.3-150000.32.5.1
libjpeg-turbo SUSE:Linux Enterprise Module for Desktop Applications 15 SP3All versions1.5.3-150000.32.5.1
libjpeg-turbo SUSE:Linux Enterprise Module for Package Hub 15 SP3All versions1.5.3-150000.32.5.1
libjpeg-turbo SUSE:Linux Enterprise Server 12 SP5All versions1.5.3-31.28.1
libjpeg62-turbo SUSE:Linux Enterprise Server 12 SP5All versions1.5.3-31.28.1
libjpeg-turbo SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.5.3-31.28.1
libjpeg62-turbo SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.5.3-31.28.1
libjpeg-turbo SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.5.3-31.28.1
libjpeg62-turbo SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.5.3-31.28.1
libjpeg-turbo openSUSE:Leap 15.3All versions1.5.3-150000.32.5.1
libjpeg62-turbo openSUSE:Leap 15.3All versions1.5.3-150000.32.5.1
libjpeg62-turbo openSUSE:Leap 15.4All versions1.5.3-150000.32.5.1
libjpeg-turbo openSUSE:Leap Micro 5.2All versions1.5.3-150000.32.5.1

Products include Libjpeg-Turbo Libjpeg-Turbo.

How do I fix CVE-2020-35538?

Upgrade to a fixed version.

Is CVE-2020-35538 being exploited?

There is no known exploitation of CVE-2020-35538 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2020-35538, AZL-10824, AZL-43462, AZL-44676, CLEANSTART-2026-AW54211, DEBIAN-CVE-2020-35538 and 6 more.

Is CVE-2020-35538 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free