python-pillow/pillow · Security
Integer overflow in Pillow
- GHSA ID
- GHSA-vcqg-3p29-xw73
- CVE ID
- CVE-2020-5310
- Severity
- critical
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v4
- 9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
CWEs
- CWE-190 · Integer Overflow or Wraparound
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-5310 ↗
- https://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4 ↗
- https://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-81.yaml ↗
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html ↗
- https://github.com/advisories/GHSA-vcqg-3p29-xw73 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-81.yaml ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P ↗
- https://usn.ubuntu.com/4272-1 ↗