CVE-2020-5310
mediumpriority · track · 36EPSS 0.020 · 80 %ileEURUUSEPSS · scored 2026-10-27
libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (14)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-vcqg-3p29-xw73Integer overflow in Pillow2021-11-03ghsa · osvUS
`libImaging/TiffDecode.c` in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
- BIT-pillow-2020-53102024-03-06vendor · osvUS
libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
- PYSEC-2020-812020-01-03vendor · osvUS
libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
also known as (8)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (21)
External citations — patches, advisories, analysis.
- https://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-5310cnnvd
- https://packetstormsecurity.com/files/156245/Ubuntu-Security-Notice-USN-4272-1.htmlcnnvd
- https://packetstormsecurity.com/files/161286/Red-Hat-Security-Advisory-2021-0420-01.htmlcnnvd
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.htmlcnnvd
- https://usn.ubuntu.com/4272-1/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan