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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2022-08-31T15:33:04.000Z
- Modified: 2026-11-02T18:18:29.497Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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

(As written by CVE List.)

## Affected

- libjpeg-turbo: libjpeg-turbo 2.0.5 onwards
- libjpeg-turbo libjpeg-turbo: 2.0.5

## References

- <https://github.com/libjpeg-turbo/libjpeg-turbo/issues/441> (issue-tracking, third-party-advisory)
- <https://github.com/libjpeg-turbo/libjpeg-turbo/commit/9120a247436e84c0b4eea828cb11e8f665fcde30> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2020-35538](https://www.cve.org/CVERecord?id=CVE-2020-35538), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2020-35538](https://nvd.nist.gov/vuln/detail/CVE-2020-35538), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2020-35538 · Whole record: https://cve.day/CVE-2020-35538.json · Rebuilt by cve.day 2026-11-25T22:57:58.712Z
