CVE-2020-17541 json
Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component
published 2021-06-01 5 y ago modified 2026-07-18 3 mo ago also EUVD-2020-9472 , JLSEC-2025-179
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia JpegTurbo_jll 2.1.0+0
- libjpeg-turbo libjpeg-turbo 2.0.4
- libjpeg-turbo Debian 14, Debian 13, Debian 12 1:2.0.5-1
debian advisories DEBIAN-CVE-2020-17541
- libjpeg-turbo Ubuntu 18.04 LTS 1.5.2-0ubuntu5.18.04.6
- libjpeg-turbo Ubuntu 20.04 LTS 2.0.3-0ubuntu1.20.04.3
- libjpeg-turbo Ubuntu Pro 14.04 LTS 1.3.0-0ubuntu2.1+esm2
- libjpeg-turbo Ubuntu Pro 16.04 LTS 1.4.2-0ubuntu3.4+esm1
ubuntu advisories UBUNTU-CVE-2020-17541
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libjpeg-turbo RHEL 8 1.5.3-12.el8
- turbojpeg RHEL 8 1.5.3-12.el8
- libjpeg-turbo-utils RHEL 8 1.5.3-12.el8
red hat advisories RHSA-2021:4288
- libjpeg-turbo SLE Module for Package Hub 15 SP3, SLE Module for Package Hub 15 SP2, SLE Module for Desktop Applications 15 SP3 +4 more 1.5.3-5.18.1
- libjpeg62-turbo SLE Module for Basesystem 15 SP3, SLE Module for Basesystem 15 SP2 1.5.3-5.18.1
- libjpeg-turbo SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.5.3-31.25.1
- libjpeg62-turbo SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.5.3-31.25.1
suse advisories SUSE-SU-2021:1958-1SUSE-SU-2021:1957-1
- libjpeg-turbo openSUSE Leap 15.3 1.5.3-5.18.1
- libjpeg62-turbo openSUSE Leap 15.3 1.5.3-5.18.1
- libjpeg-turbo openSUSE Leap 15.2 1.5.3-lp152.8.6.1
- libjpeg62-turbo openSUSE Leap 15.2 1.5.3-lp152.8.6.1
opensuse advisories openSUSE-SU-2021:1958-1openSUSE-SU-2021:0892-1
- libjpeg-turbo AlmaLinux 8 1.5.3-12.el8
- turbojpeg AlmaLinux 8 1.5.3-12.el8
- libjpeg-turbo-utils AlmaLinux 8 1.5.3-12.el8
almalinux advisories ALSA-2021:4288
- libjpeg-turbo Rocky Linux 8 1.5.3-12.el8
rocky linux advisories RLSA-2021:4288
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-17541 updated cvss 8.8
libjpeg-turbo: Stack-based buffer overflow in the "transform" component
-
Red Hat Enterprise Linux 6 libjpeg-turbo Red Hat Enterprise Linux 7 turbojpeg, libjpeg-turbo, libjpeg-turbo-utilsaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 mingw32-libjpeg-turbo, mingw64-libjpeg-turboaffected: workaround, no fix available
-
Red Hat CodeReady Linux Builder (v. 8) turbojpeg-devel 1.5.3-12.el8, turbojpeg-debuginfo 1.5.3-12.el8, libjpeg-turbo-debuginfo 1.5.3-12.el8, libjpeg-turbo-debugsource 1.5.3-12.el8, libjpeg-turbo-utils-debuginfo 1.5.3-12.el8 Red Hat Enterprise Linux AppStream (v. 8) turbojpeg 1.5.3-12.el8, libjpeg-turbo 1.5.3-12.el8, libjpeg-turbo-utils 1.5.3-12.el8fixed: vendor fix RHSA-2021:4288
-
Red Hat Enterprise Linux 9 turbojpeg, libjpeg-turbo, libjpeg-turbo-utilsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.73% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/libjpeg-turbo/libjpeg-turbo/issues/392 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | JpegTurbo_jll | <2.1.0+0 |
2.1.0+0 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/libjpeg-turbo/libjpeg-turbo/issues/392
exploit, issue-tracking, patch, third-party-advisory, web
-
cwe.mitre.org
/data/definitions/121.html
third-party-advisory, web
Sources
- CVE List CVE-2020-17541
- NVD CVE-2020-17541
- OSV JLSEC-2025-179
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.