Every CVE Search/ Get API key

CVE-2020-35538

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

5.5 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.29%Down 0.6 points since Sep 1, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

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

Record
CVE-2020-35538
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
CVE List No score

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

Record
CVE-2020-35538
Weakness
CWE-476
Updated
2026-11-02
EUVDEUVD-2020-23205 No score

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

Record
EUVD-2020-23205
Updated
2026-11-03
GitHub AdvisoriesGHSA-grwc-h387-x9h2 5.5

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

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

Record
GHSA-grwc-h387-x9h2
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
OSVALPINE-CVE-2020-35538 5.5

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

Record
ALPINE-CVE-2020-35538
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-10824 5.5

CVE-2020-35538 affecting package libjpeg-turbo for versions less than 2.1.4-1

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

Record
AZL-10824
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 11 moreShow less
OSVAZL-43462 5.5

CVE-2020-35538 affecting package gdal 3.6.3-5

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

Record
AZL-43462
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-44676 5.5

CVE-2020-35538 affecting package gdal 3.6.3-2

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

Record
AZL-44676
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-05
OSVBELL-CVE-2020-35538 5.5

CVE-2020-35538 does not affect BellSoft software

Record
BELL-CVE-2020-35538
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 5.5

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

Record
CVE-2020-35538
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-04
OSVDEBIAN-CVE-2020-35538 5.5

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

Record
DEBIAN-CVE-2020-35538
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVOESA-2022-1915 5.5

libjpeg-turbo security update

libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, NEON, AltiVec) to accelerate baseline JPEG compression and decompression on x86, x86-64, and ARM systems.

Security Fix(es):

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

Record
OESA-2022-1915
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2022-1916 5.5

libjpeg-turbo security update

libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, NEON, AltiVec) to accelerate baseline JPEG compression and decompression on x86, x86-64, and ARM systems.

Security Fix(es):

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

Record
OESA-2022-1916
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-35538 5.5

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

Record
UBUNTU-CVE-2020-35538
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVSUSE-SU-2022:3475-1 No score

Security update for libjpeg-turbo

This update for libjpeg-turbo fixes the following issues:

  • CVE-2020-35538: Fixed null pointer dereference in jcopy_sample_rows() function (bsc#1202915).
Record
SUSE-SU-2022:3475-1
Updated
2026-11-02
OSVSUSE-SU-2022:3523-1 No score

Security update for libjpeg-turbo

This update for libjpeg-turbo fixes the following issues:

  • CVE-2020-35538: Fixed null pointer dereference in jcopy_sample_rows() function (bsc#1202915).
Record
SUSE-SU-2022:3523-1
Updated
2026-11-02
OSVUSN-5631-1 No score

libjpeg-turbo vulnerabilities

It was discovered that libjpeg-turbo incorrectly handled certain EOF characters. An attacker could possibly use this issue to cause libjpeg-turbo to consume resource, leading to a denial of service. This issue only affected Ubuntu 18.04 LTS. (CVE-2018-11813)

It was discovered that libjpeg-turbo incorrectly handled certain malformed jpeg files. An attacker could possibly use this issue to cause libjpeg-turbo to crash, resulting in a denial of service. (CVE-2020-17541, CVE-2020-35538)

It was discovered that libjpeg-turbo incorrectly handled certain malformed PPM files. An attacker could use this issue to cause libjpeg-turbo to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-46822)

Record
USN-5631-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libjpeg-turbo
Alpine:v3.17
before 2.0.6-r0
2.0.6-r0
libjpeg-turbo
Alpine:v3.18
before 2.0.6-r0
2.0.6-r0
libjpeg-turbo
Alpine:v3.19
before 2.0.6-r0
2.0.6-r0
libjpeg-turbo
Alpine:v3.20
before 2.0.6-r0
2.0.6-r0
libjpeg-turbo
Alpine:v3.21
before 2.0.6-r0
2.0.6-r0
libjpeg-turbo
Alpine:v3.22
before 2.0.6-r0
2.0.6-r0
libjpeg-turbo
Alpine:v3.23
before 2.0.6-r0
2.0.6-r0
libjpeg-turbo
Alpine:v3.24
before 2.0.6-r0
2.0.6-r0
libjpeg-turbo
Azure Linux:2
before 2.1.4-1
2.1.4-1
gdal
Azure Linux:2
through 3.6.3-5 None known
Show 26 moreShow less
Affected packages
PackageAffectedFixed
gdal
Azure Linux:3
through 3.6.3-2 None known
libjpeg-turbo
Debian:12
before 1:2.0.6-1
1:2.0.6-1
libjpeg-turbo
Debian:13
before 1:2.0.6-1
1:2.0.6-1
libjpeg-turbo
Debian:14
before 1:2.0.6-1
1:2.0.6-1
libjpeg-turbo
openEuler:20.03-LTS-SP1
before 2.0.5-3.oe1
2.0.5-3.oe1
libjpeg-turbo
openEuler:20.03-LTS-SP3
before 2.0.5-3.oe1
2.0.5-3.oe1
libjpeg-turbo
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.5.3-31.28.1
1.5.3-31.28.1
libjpeg62-turbo
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.5.3-31.28.1
1.5.3-31.28.1
libjpeg-turbo
SUSE:Linux Enterprise Server 12 SP5
before 1.5.3-31.28.1
1.5.3-31.28.1
libjpeg62-turbo
SUSE:Linux Enterprise Server 12 SP5
before 1.5.3-31.28.1
1.5.3-31.28.1
libjpeg-turbo
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.5.3-31.28.1
1.5.3-31.28.1
libjpeg62-turbo
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.5.3-31.28.1
1.5.3-31.28.1
libjpeg-turbo
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 1.5.3-150000.32.5.1
1.5.3-150000.32.5.1
libjpeg62-turbo
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 1.5.3-150000.32.5.1
1.5.3-150000.32.5.1
libjpeg-turbo
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3
before 1.5.3-150000.32.5.1
1.5.3-150000.32.5.1
libjpeg-turbo
SUSE:Linux Enterprise Module for Package Hub 15 SP3
before 1.5.3-150000.32.5.1
1.5.3-150000.32.5.1
libjpeg-turbo
SUSE:Linux Enterprise Micro 5.1
before 1.5.3-150000.32.5.1
1.5.3-150000.32.5.1
libjpeg-turbo
SUSE:Linux Enterprise Micro 5.2
before 1.5.3-150000.32.5.1
1.5.3-150000.32.5.1
libjpeg-turbo
openSUSE:Leap Micro 5.2
before 1.5.3-150000.32.5.1
1.5.3-150000.32.5.1
libjpeg-turbo
openSUSE:Leap 15.3
before 1.5.3-150000.32.5.1
1.5.3-150000.32.5.1
libjpeg62-turbo
openSUSE:Leap 15.3
before 1.5.3-150000.32.5.1
1.5.3-150000.32.5.1
libjpeg62-turbo
openSUSE:Leap 15.4
before 1.5.3-150000.32.5.1
1.5.3-150000.32.5.1
libjpeg-turbo
Ubuntu:18.04:LTS
before 1.5.2-0ubuntu5.18.04.6, plus listed versions
1.5.2-0ubuntu51.5.2-0ubuntu5.18.04.11.5.2-0ubuntu5.18.04.31.5.2-0ubuntu5.18.04.4
1.5.2-0ubuntu5.18.04.6
libjpeg-turbo
Ubuntu:20.04:LTS
before 2.0.3-0ubuntu1.20.04.3, plus listed versions
2.0.3-0ubuntu12.0.3-0ubuntu1.20.04.1
2.0.3-0ubuntu1.20.04.3
libjpeg-turbo
Ubuntu:18.04:LTS
From an advisory covering 4 CVEs
before 1.5.2-0ubuntu5.18.04.6, plus listed versions
1.5.2-0ubuntu51.5.2-0ubuntu5.18.04.11.5.2-0ubuntu5.18.04.31.5.2-0ubuntu5.18.04.4
1.5.2-0ubuntu5.18.04.6
libjpeg-turbo
Ubuntu:20.04:LTS
From an advisory covering 4 CVEs
before 2.0.3-0ubuntu1.20.04.3, plus listed versions
2.0.3-0ubuntu12.0.3-0ubuntu1.20.04.1
2.0.3-0ubuntu1.20.04.3

History

History
RecordedChangedSources
affectedOSV
factsOSV
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-35538 is a medium vulnerability (CVSS 5.5) in Libjpeg-turbo, published August 31, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 21st percentile. Fixed in libjpeg-turbo 2.0.6-r0.

References

Show 14 moreShow less
MoveEnter Open