Every CVE Search/ Get API key

CVE-2020-17541

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A...

8.8 HighFix available

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.73%Up 1.6 points since Jun 2, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Record
CVE-2020-17541
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Record
CVE-2020-17541
Updated
2026-11-02
EUVDEUVD-2020-9472 No score

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Record
EUVD-2020-9472
Updated
2026-11-03
GitHub AdvisoriesGHSA-vhxw-68wq-v5j9 8.8

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A...

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Record
GHSA-vhxw-68wq-v5j9
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVAZL-6637 8.8

CVE-2020-17541 affecting package libjpeg-turbo for versions less than 2.0.0-9

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Record
AZL-6637
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 8.8

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Record
CVE-2020-17541
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 12 moreShow less
OSVDEBIAN-CVE-2020-17541 8.8

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Record
DEBIAN-CVE-2020-17541
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVJLSEC-2025-179 8.8

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Record
JLSEC-2025-179
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Updated
2026-11-02
OSVRHSA-2021:4288 8.8

Red Hat Security Advisory: libjpeg-turbo security and bug fix update

Record
RHSA-2021:4288
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2021:4288 8.8

Moderate: libjpeg-turbo security and bug fix update

The libjpeg-turbo packages contain a library of functions for manipulating JPEG images. They also contain simple client programs for accessing the libjpeg functions. These packages provide the same functionality and API as libjpeg but with better performance.

Security Fix(es):

  • libjpeg-turbo: Stack-based buffer overflow in the "transform" component (CVE-2020-17541)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.

Record
RLSA-2021:4288
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-17541 8.8

Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

Record
UBUNTU-CVE-2020-17541
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALSA-2021:4288 No score

Moderate: libjpeg-turbo security and bug fix update

The libjpeg-turbo packages contain a library of functions for manipulating JPEG images. They also contain simple client programs for accessing the libjpeg functions. These packages provide the same functionality and API as libjpeg but with better performance.

Security Fix(es):

  • libjpeg-turbo: Stack-based buffer overflow in the "transform" component (CVE-2020-17541)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2021:4288
Updated
2026-11-05
OSVopenSUSE-SU-2021:0892-1 No score

Security update for libjpeg-turbo

This update for libjpeg-turbo fixes the following issues:

  • CVE-2020-17541: Fixed a stack-based buffer overflow in the 'transform' component (bsc#1186764).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2021:0892-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:1958-1 No score

Security update for libjpeg-turbo

This update for libjpeg-turbo fixes the following issues:

  • CVE-2020-17541: Fixed a stack-based buffer overflow in the 'transform' component (bsc#1186764).
Record
openSUSE-SU-2021:1958-1
Updated
2026-11-02
OSVSUSE-SU-2021:1957-1 No score

Security update for libjpeg-turbo

This update for libjpeg-turbo fixes the following issues:

  • CVE-2020-17541: Fixed a stack-based buffer overflow in the 'transform' component (bsc#1186764).
Record
SUSE-SU-2021:1957-1
Updated
2026-11-02
OSVSUSE-SU-2021:1958-1 No score

Security update for libjpeg-turbo

This update for libjpeg-turbo fixes the following issues:

  • CVE-2020-17541: Fixed a stack-based buffer overflow in the 'transform' component (bsc#1186764).
Record
SUSE-SU-2021:1958-1
Updated
2026-11-02
OSVUSN-5553-1 No score

libjpeg-turbo vulnerabilities

It was discovered that libjpeg-turbo was not properly handling EOF characters, which could lead to excessive memory consumption through the execution of a large loop. An attacker could possibly use this issue to cause a denial of service. (CVE-2018-11813)

It was discovered that libjpeg-turbo was not properly performing bounds check operations, which could lead to a heap-based buffer overread. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM. (CVE-2018-14498)

It was discovered that libjpeg-turbo was not properly limiting the amount of main memory being consumed by the system during decompression or multi-pass compression operations, which could lead to excessive memory consumption. An attacker could possibly use this issue to cause a denial of service. (CVE-2020-14152)

It was discovered that libjpeg-turbo was not properly setting variable sizes when performing certain kinds of encoding operations, which could lead to a stack-based buffer overflow. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. (CVE-2020-17541)

Record
USN-5553-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
AlmaLinux:8
before 1.5.3-12.el8
1.5.3-12.el8
libjpeg-turbo-devel
AlmaLinux:8
before 1.5.3-12.el8
1.5.3-12.el8
libjpeg-turbo-utils
AlmaLinux:8
before 1.5.3-12.el8
1.5.3-12.el8
turbojpeg
AlmaLinux:8
before 1.5.3-12.el8
1.5.3-12.el8
turbojpeg-devel
AlmaLinux:8
before 1.5.3-12.el8
1.5.3-12.el8
libjpeg-turbo
Azure Linux:2
before 2.0.0-9
2.0.0-9
libjpeg-turbo
Debian:12
before 1:2.0.5-1
1:2.0.5-1
libjpeg-turbo
Debian:13
before 1:2.0.5-1
1:2.0.5-1
libjpeg-turbo
Debian:14
before 1:2.0.5-1
1:2.0.5-1
JpegTurbo_jll
Julia
before 2.1.0+0
2.1.0+0
Show 41 moreShow less
Affected packages
PackageAffectedFixed
libjpeg-turbo
Red Hat:enterprise_linux:8::appstream
before 0:1.5.3-12.el8
0:1.5.3-12.el8
libjpeg-turbo-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.5.3-12.el8
0:1.5.3-12.el8
libjpeg-turbo-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:1.5.3-12.el8
0:1.5.3-12.el8
libjpeg-turbo-devel
Red Hat:enterprise_linux:8::appstream
before 0:1.5.3-12.el8
0:1.5.3-12.el8
libjpeg-turbo-utils
Red Hat:enterprise_linux:8::appstream
before 0:1.5.3-12.el8
0:1.5.3-12.el8
libjpeg-turbo-utils-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.5.3-12.el8
0:1.5.3-12.el8
turbojpeg
Red Hat:enterprise_linux:8::appstream
before 0:1.5.3-12.el8
0:1.5.3-12.el8
turbojpeg-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.5.3-12.el8
0:1.5.3-12.el8
libjpeg-turbo-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:1.5.3-12.el8
0:1.5.3-12.el8
libjpeg-turbo-debugsource
Red Hat:enterprise_linux:8::crb
before 0:1.5.3-12.el8
0:1.5.3-12.el8
libjpeg-turbo-utils-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:1.5.3-12.el8
0:1.5.3-12.el8
turbojpeg-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:1.5.3-12.el8
0:1.5.3-12.el8
turbojpeg-devel
Red Hat:enterprise_linux:8::crb
before 0:1.5.3-12.el8
0:1.5.3-12.el8
libjpeg-turbo
Rocky Linux:8
before 0:1.5.3-12.el8
0:1.5.3-12.el8
libjpeg-turbo
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.5.3-31.25.1
1.5.3-31.25.1
libjpeg62-turbo
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.5.3-31.25.1
1.5.3-31.25.1
libjpeg-turbo
SUSE:Linux Enterprise Server 12 SP5
before 1.5.3-31.25.1
1.5.3-31.25.1
libjpeg62-turbo
SUSE:Linux Enterprise Server 12 SP5
before 1.5.3-31.25.1
1.5.3-31.25.1
libjpeg-turbo
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.5.3-31.25.1
1.5.3-31.25.1
libjpeg62-turbo
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.5.3-31.25.1
1.5.3-31.25.1
libjpeg-turbo
SUSE:Linux Enterprise Module for Basesystem 15 SP2
before 1.5.3-5.18.1
1.5.3-5.18.1
libjpeg62-turbo
SUSE:Linux Enterprise Module for Basesystem 15 SP2
before 1.5.3-5.18.1
1.5.3-5.18.1
libjpeg-turbo
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 1.5.3-5.18.1
1.5.3-5.18.1
libjpeg62-turbo
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 1.5.3-5.18.1
1.5.3-5.18.1
libjpeg-turbo
SUSE:Linux Enterprise Module for Desktop Applications 15 SP2
before 1.5.3-5.18.1
1.5.3-5.18.1
libjpeg-turbo
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3
before 1.5.3-5.18.1
1.5.3-5.18.1
libjpeg-turbo
SUSE:Linux Enterprise Module for Package Hub 15 SP2
before 1.5.3-5.18.1
1.5.3-5.18.1
libjpeg-turbo
SUSE:Linux Enterprise Module for Package Hub 15 SP3
before 1.5.3-5.18.1
1.5.3-5.18.1
libjpeg-turbo
SUSE:Linux Enterprise Micro 5.0
before 1.5.3-5.18.1
1.5.3-5.18.1
libjpeg-turbo
Ubuntu:Pro:14.04:LTS
before 1.3.0-0ubuntu2.1+esm2, plus listed versions
1.3.0-0ubuntu11.3.0-0ubuntu21.3.0-0ubuntu2.11.3.0-0ubuntu2.1+esm1
1.3.0-0ubuntu2.1+esm2
libjpeg-turbo
Ubuntu:Pro:16.04:LTS
before 1.4.2-0ubuntu3.4+esm1, plus listed versions
1.3.0-0ubuntu21.4.2-0ubuntu11.4.2-0ubuntu21.4.2-0ubuntu31.4.2-0ubuntu3.11.4.2-0ubuntu3.31.4.2-0ubuntu3.4
1.4.2-0ubuntu3.4+esm1
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:Pro:14.04:LTS
From an advisory covering 4 CVEs
before 1.3.0-0ubuntu2.1+esm2, plus listed versions
1.3.0-0ubuntu11.3.0-0ubuntu21.3.0-0ubuntu2.11.3.0-0ubuntu2.1+esm1
1.3.0-0ubuntu2.1+esm2
libjpeg-turbo
Ubuntu:Pro:16.04:LTS
From an advisory covering 4 CVEs
before 1.4.2-0ubuntu3.4+esm1, plus listed versions
1.3.0-0ubuntu21.4.2-0ubuntu11.4.2-0ubuntu21.4.2-0ubuntu31.4.2-0ubuntu3.11.4.2-0ubuntu3.31.4.2-0ubuntu3.4
1.4.2-0ubuntu3.4+esm1
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
libjpeg-turbo
openSUSE:Leap 15.2
before 1.5.3-lp152.8.6.1
1.5.3-lp152.8.6.1
libjpeg62-turbo
openSUSE:Leap 15.2
before 1.5.3-lp152.8.6.1
1.5.3-lp152.8.6.1
libjpeg-turbo
openSUSE:Leap 15.3
before 1.5.3-5.18.1
1.5.3-5.18.1
libjpeg62-turbo
openSUSE:Leap 15.3
before 1.5.3-5.18.1
1.5.3-5.18.1

History

History
RecordedChangedSources
affected
facts, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2020-17541 is a high vulnerability (CVSS 8.8) in Libjpeg-turbo, published June 1, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.73%, the 86th percentile. Fixed in libjpeg-turbo 1.5.3-12.el8.

References

Show 26 moreShow less
MoveEnter Open