# CVE-2020-11538: Out-of-bounds read in Pillow

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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): 2.48%, higher than 85% of CVEs (2026-12-01)
- Published: 2020-06-25T18:32:06.000Z
- Modified: 2026-09-08T08:48:24.691Z
- Also known as: GHSA-43fq-w8qq-v88h, BIT-PILLOW-2020-11538, PYSEC-2020-80
- Weaknesses: CWE-125
- Assigned by: mitre

## Description

In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads exist in the parsing of SGI image files, a different issue than CVE-2020-5311.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pillow (PyPI): before 7.1.0
- python pillow: up to 7.0.0
- fedoraproject fedora: 31; 32
- canonical ubuntu_linux: 16.04; 18.04; 20.04
- pillow (Bitnami): before 7.0.1

## Every score

- GitHub: CVSS:3.1 8.1 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://pillow.readthedocs.io/en/stable/releasenotes/index.html> (article, release-notes, web)
- <https://github.com/python-pillow/Pillow/pull/4538> (fix, issue-tracking, patch, web)
- <https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html> (product, web)
- <https://github.com/python-pillow/Pillow/pull/4504> (fix, issue-tracking, patch, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/> (vendor-advisory, web)
- <https://usn.ubuntu.com/4430-1/> (advisory, third-party-advisory, vendor-advisory, web)
- <https://usn.ubuntu.com/4430-2/> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-11538> (advisory, web)
- <https://github.com/python-pillow/Pillow/commit/2ef59fdbaeb756bc512ab3f2ad15ac45665b303d> (web)
- <https://github.com/advisories/GHSA-43fq-w8qq-v88h> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-80.yaml> (web)
- <https://github.com/python-pillow/Pillow> (package)
- <https://github.com/python-pillow/Pillow/blob/master/docs/releasenotes/7.1.0.rst#security> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427> (web)
- <https://snyk.io/vuln/SNYK-PYTHON-PILLOW-574574> (web)
- <https://usn.ubuntu.com/4430-1> (web)
- <https://usn.ubuntu.com/4430-2> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/> (web)

## Sources

- CVE List: [CVE-2020-11538](https://www.cve.org/CVERecord?id=CVE-2020-11538), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-43fq-w8qq-v88h](https://github.com/advisories/GHSA-43fq-w8qq-v88h), CC-BY-4.0, modified 2024-10-09
- NVD: [CVE-2020-11538](https://nvd.nist.gov/vuln/detail/CVE-2020-11538), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-80](https://osv.dev/vulnerability/PYSEC-2020-80), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-PILLOW-2020-11538](https://osv.dev/vulnerability/BIT-PILLOW-2020-11538), Apache-2.0, modified 2026-09-08

---

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