CVE-2020-17541
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.
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
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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
libjpeg-turboAlmaLinux:8 |
before 1.5.3-12.el8 | 1.5.3-12.el8 |
libjpeg-turbo-develAlmaLinux:8 |
before 1.5.3-12.el8 | 1.5.3-12.el8 |
libjpeg-turbo-utilsAlmaLinux:8 |
before 1.5.3-12.el8 | 1.5.3-12.el8 |
turbojpegAlmaLinux:8 |
before 1.5.3-12.el8 | 1.5.3-12.el8 |
turbojpeg-develAlmaLinux:8 |
before 1.5.3-12.el8 | 1.5.3-12.el8 |
libjpeg-turboAzure Linux:2 |
before 2.0.0-9 | 2.0.0-9 |
libjpeg-turboDebian:12 |
before 1:2.0.5-1 | 1:2.0.5-1 |
libjpeg-turboDebian:13 |
before 1:2.0.5-1 | 1:2.0.5-1 |
libjpeg-turboDebian:14 |
before 1:2.0.5-1 | 1:2.0.5-1 |
JpegTurbo_jllJulia |
before 2.1.0+0 | 2.1.0+0 |
Show 41 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libjpeg-turboRed Hat:enterprise_linux:8::appstream |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
libjpeg-turbo-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
libjpeg-turbo-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
libjpeg-turbo-develRed Hat:enterprise_linux:8::appstream |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
libjpeg-turbo-utilsRed Hat:enterprise_linux:8::appstream |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
libjpeg-turbo-utils-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
turbojpegRed Hat:enterprise_linux:8::appstream |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
turbojpeg-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
libjpeg-turbo-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
libjpeg-turbo-debugsourceRed Hat:enterprise_linux:8::crb |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
libjpeg-turbo-utils-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
turbojpeg-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
turbojpeg-develRed Hat:enterprise_linux:8::crb |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
libjpeg-turboRocky Linux:8 |
before 0:1.5.3-12.el8 | 0:1.5.3-12.el8 |
libjpeg-turboSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 1.5.3-31.25.1 | 1.5.3-31.25.1 |
libjpeg62-turboSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 1.5.3-31.25.1 | 1.5.3-31.25.1 |
libjpeg-turboSUSE:Linux Enterprise Server 12 SP5 |
before 1.5.3-31.25.1 | 1.5.3-31.25.1 |
libjpeg62-turboSUSE:Linux Enterprise Server 12 SP5 |
before 1.5.3-31.25.1 | 1.5.3-31.25.1 |
libjpeg-turboSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 1.5.3-31.25.1 | 1.5.3-31.25.1 |
libjpeg62-turboSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 1.5.3-31.25.1 | 1.5.3-31.25.1 |
libjpeg-turboSUSE:Linux Enterprise Module for Basesystem 15 SP2 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
libjpeg62-turboSUSE:Linux Enterprise Module for Basesystem 15 SP2 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
libjpeg-turboSUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
libjpeg62-turboSUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
libjpeg-turboSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
libjpeg-turboSUSE:Linux Enterprise Module for Desktop Applications 15 SP3 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
libjpeg-turboSUSE:Linux Enterprise Module for Package Hub 15 SP2 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
libjpeg-turboSUSE:Linux Enterprise Module for Package Hub 15 SP3 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
libjpeg-turboSUSE:Linux Enterprise Micro 5.0 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
libjpeg-turboUbuntu: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-turboUbuntu: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-turboUbuntu: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-turboUbuntu: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-turboUbuntu: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-turboUbuntu: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-turboUbuntu: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-turboUbuntu: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-turboopenSUSE:Leap 15.2 |
before 1.5.3-lp152.8.6.1 | 1.5.3-lp152.8.6.1 |
libjpeg62-turboopenSUSE:Leap 15.2 |
before 1.5.3-lp152.8.6.1 | 1.5.3-lp152.8.6.1 |
libjpeg-turboopenSUSE:Leap 15.3 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
libjpeg62-turboopenSUSE:Leap 15.3 |
before 1.5.3-5.18.1 | 1.5.3-5.18.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE 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
cwe.mitre.org/data/definitions/121.html
github.com/libjpeg-turbo/libjpeg-turbo/issues/392
nvd.nist.gov/vuln/detail/CVE-2020-17541
github.com/advisories/GHSA-vhxw-68wq-v5j9
access.redhat.com/errata/RHSA-2021:4288
bugzilla.redhat.com/1968036
Show 26 moreShow less
bugzilla.redhat.com/1982572
errata.almalinux.org/8/ALSA-2021-4288.html
vulners.com/cve/CVE-2020-17541
security-tracker.debian.org/tracker/CVE-2020-17541
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.5_release_notes
bugzilla.redhat.com/show_bug.cgi?id=1968036
bugzilla.redhat.com/show_bug.cgi?id=1982572
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4288.json
access.redhat.com/security/cve/CVE-2020-17541
cve.org/CVERecord?id=CVE-2020-17541
errata.rockylinux.org/RLSA-2021:4288
suse.com/support/update/announcement/2021/suse-su-20211957-1
bugzilla.suse.com/1186764
suse.com/security/cve/CVE-2020-17541
suse.com/support/update/announcement/2021/suse-su-20211958-1
ubuntu.com/security/CVE-2020-17541
ubuntu.com/security/notices/USN-5553-1
ubuntu.com/security/notices/USN-5631-1
ubuntu.com/security/CVE-2018-11813
ubuntu.com/security/CVE-2018-14498
ubuntu.com/security/CVE-2020-14152
ubuntu.com/security/CVE-2020-35538
ubuntu.com/security/CVE-2021-46822
lists.opensuse.org/archives/list/[email protected]/thread/5QFMY5PC6YGRRPOTKEDLIS6VQ2KCVUDF
lists.opensuse.org/archives/list/[email protected]/thread/JEVT5FS4C2453YNMGNJH5GEW4YPAD5DS