# CVE-2020-10994: Out-of-bounds reads in Pillow

- 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): 1.43%, higher than 73% of CVEs (2026-12-01)
- Published: 2020-06-25T18:26:30.000Z
- Modified: 2026-09-08T08:48:24.782Z
- Also known as: GHSA-vj42-xq3r-hr3r, BIT-PILLOW-2020-10994, PYSEC-2020-79
- Weaknesses: CWE-125
- Assigned by: mitre

## Description

In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://pillow.readthedocs.io/en/stable/releasenotes/> (article, release-notes, web)
- <https://github.com/python-pillow/Pillow/commits/master/src/libImaging/> (advisory, patch, third-party-advisory, 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/4505> (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-10994> (advisory, web)
- <https://github.com/python-pillow/Pillow/commit/ff60894d697d1992147b791101ad53a8bf1352e4> (web)
- <https://github.com/advisories/GHSA-vj42-xq3r-hr3r> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-79.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://github.com/python-pillow/Pillow/commits/master/src/libImaging> (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://pillow.readthedocs.io/en/stable/releasenotes> (web)
- <https://snyk.io/vuln/SNYK-PYTHON-PILLOW-574575> (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-10994](https://www.cve.org/CVERecord?id=CVE-2020-10994), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-vj42-xq3r-hr3r](https://github.com/advisories/GHSA-vj42-xq3r-hr3r), CC-BY-4.0, modified 2024-10-09
- NVD: [CVE-2020-10994](https://nvd.nist.gov/vuln/detail/CVE-2020-10994), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-79](https://osv.dev/vulnerability/PYSEC-2020-79), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-PILLOW-2020-10994](https://osv.dev/vulnerability/BIT-PILLOW-2020-10994), Apache-2.0, modified 2026-09-08

---

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