CVE-2020-5310
HIGH8.8EPSS 0.61%Integer overflow in Pillow
Published: 11/3/2021Modified: 4/28/2026
Description
libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
Affected packages (5)
- Alpine/py3-pillowfrom 0, < 6.2.2-r0
- Bitnami/pillowfrom 0, < 6.2.2
- Debian/pillowfrom 0, < 7.0.0-1
- PyPI/pillowfrom 0, < 6.2.2
- PyPI/pillowfrom 0, < 4e2def2539ec13e53a82e06c4b3daf00454100c4 | from 0, < 6.2.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References (17)
- ADVISORYhttps://github.com/advisories/GHSA-vcqg-3p29-xw73
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-5310
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2020-5310
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-5310
- PATCHhttps://github.com/python-pillow/Pillow
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-81.yaml
- WEBhttps://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-81.yaml
- WEBhttps://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
- WEBhttps://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
- WEBhttps://usn.ubuntu.com/4272-1
- WEBhttps://usn.ubuntu.com/4272-1/