VDB
CVE-2020-5310
CVE-2020-5310
PUBLISHED
CVSS 8.800000190734863 HIGH
Integer overflow in Pillow
Reported by mitre · Published January 3, 2020
pillow is fixed in 6.2.2 and 4e2def2539ec13e53a82e06c4b3daf00454100c4 (PyPI)
libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pillow | PyPI | 6.2.2, 4e2def2539ec13e53a82e06c4b3daf00454100c4 |
| pillow | python | 6.2.2 |
Risk scores
CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | Pillow | 0 |
| n/a | n/a | * |
| alpine | py3-pillow | 0 |
| PyPI | pillow |
Timeline
- Jan 3, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 8, 2024 CVE Updated
- Mar 9, 2026 Security Advisory
- Aug 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-5310
vulnetix vdb fixes CVE-2020-5310
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-5310/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- FEDORA-2020-df444e464e vendor-advisoryx_refsource_FEDORA
- USN-4272-1 vendor-advisoryx_refsource_UBUNTU
- FEDORA-2020-5cdbb19cca vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2020-5310 advisory
- https://github.com/advisories/GHSA-vcqg-3p29-xw73 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-81.yaml advisory
- https://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-81.yaml advisory
- https://github.com/python-pillow/Pillow url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P url
- https://usn.ubuntu.com/4272-1 url