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

CVE-2020-35538 is fixed in 5 products on 1 platform, first by libjpeg-turbo-progs 1.5.2-0ubuntu5.18.04.6, released August 31, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-35538
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0029
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 31, 2022

## Description

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libjpeg-turbo Debian 12.15 (bookworm) | 1:2.0.6-1 | [DEBIAN-CVE-2020-35538](https://patchblox.com/security/data/fix/linux/debian-cve-2020-35538.md) | Aug 31, 2022 |
| Linux | libjpeg-turbo Debian 13.5 (trixie) | 1:2.0.6-1 | [DEBIAN-CVE-2020-35538](https://patchblox.com/security/data/fix/linux/debian-cve-2020-35538.md) | Aug 31, 2022 |
| Linux | libjpeg-turbo Debian 14 | 1:2.0.6-1 | [DEBIAN-CVE-2020-35538](https://patchblox.com/security/data/fix/linux/debian-cve-2020-35538.md) | Aug 31, 2022 |
| Linux | libjpeg-turbo-progs Ubuntu 18.04.6 LTS (bionic) | 1.5.2-0ubuntu5.18.04.6 | [libjpeg-turbo-progs 1.5.2-0ubuntu5.18.04.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libjpeg-turbo-progs-1.5.2-0ubuntu5.18.04.6.md) | Aug 31, 2022 |
| Linux | libjpeg-turbo-progs Ubuntu 20.04 LTS (focal) | 2.0.3-0ubuntu1.20.04.3 | [libjpeg-turbo-progs 2.0.3-0ubuntu1.20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libjpeg-turbo-progs-2.0.3-0ubuntu1.20.04.3.md) | Aug 31, 2022 |
| Linux | libjpeg-turbo-test Ubuntu 18.04.6 LTS (bionic) | 1.5.2-0ubuntu5.18.04.6 | [libjpeg-turbo-test 1.5.2-0ubuntu5.18.04.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libjpeg-turbo-test-1.5.2-0ubuntu5.18.04.6.md) | Aug 31, 2022 |
| Linux | libjpeg-turbo-test Ubuntu 20.04 LTS (focal) | 2.0.3-0ubuntu1.20.04.3 | [libjpeg-turbo-test 2.0.3-0ubuntu1.20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libjpeg-turbo-test-2.0.3-0ubuntu1.20.04.3.md) | Aug 31, 2022 |
| Linux | libjpeg-turbo8 Ubuntu 18.04.6 LTS (bionic) | 1.5.2-0ubuntu5.18.04.6 | [libjpeg-turbo8 1.5.2-0ubuntu5.18.04.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libjpeg-turbo8-1.5.2-0ubuntu5.18.04.6.md) | Aug 31, 2022 |
| Linux | libjpeg-turbo8 Ubuntu 20.04 LTS (focal) | 2.0.3-0ubuntu1.20.04.3 | [libjpeg-turbo8 2.0.3-0ubuntu1.20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libjpeg-turbo8-2.0.3-0ubuntu1.20.04.3.md) | Aug 31, 2022 |
| Linux | libturbojpeg Ubuntu 18.04.6 LTS (bionic) | 1.5.2-0ubuntu5.18.04.6 | [libturbojpeg 1.5.2-0ubuntu5.18.04.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libturbojpeg-1.5.2-0ubuntu5.18.04.6.md) | Aug 31, 2022 |
| Linux | libturbojpeg Ubuntu 20.04 LTS (focal) | 2.0.3-0ubuntu1.20.04.3 | [libturbojpeg 2.0.3-0ubuntu1.20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libturbojpeg-2.0.3-0ubuntu1.20.04.3.md) | Aug 31, 2022 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
