Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Pillow
  4. ›
  5. CVE-2020-10994

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

July 27, 2020 (updated October 9, 2024)

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

References

  • github.com/advisories/GHSA-vj42-xq3r-hr3r
  • github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-79.yaml
  • github.com/python-pillow/Pillow
  • github.com/python-pillow/Pillow/blob/master/docs/releasenotes/7.1.0.rst
  • github.com/python-pillow/Pillow/commit/ff60894d697d1992147b791101ad53a8bf1352e4
  • github.com/python-pillow/Pillow/commits/master/src/libImaging
  • github.com/python-pillow/Pillow/pull/4505
  • github.com/python-pillow/Pillow/pull/4538
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427
  • nvd.nist.gov/vuln/detail/CVE-2020-10994
  • pillow.readthedocs.io/en/stable/releasenotes
  • pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html
  • snyk.io/vuln/SNYK-PYTHON-PILLOW-574575
  • usn.ubuntu.com/4430-1
  • usn.ubuntu.com/4430-2

Code Behaviors & Features

Detect and mitigate CVE-2020-10994 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.1.0

Fixed versions

  • 7.1.0

Solution

Upgrade to version 7.1.0 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

pypi/Pillow/CVE-2020-10994.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.