CVE-2021-25291
mediumpriority · track · 30EPSS 0.014 · 72 %ileEUUSEPSS · scored 2026-10-27
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries.
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 · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-mvg9-xffr-p774Out of bounds read in Pillow2021-03-29ghsa · osvUS
An issue was discovered in Pillow before 8.2.0. In `TiffDecode.c`, there is an out-of-bounds read in `TiffreadRGBATile` via invalid tile boundaries.
- BIT-pillow-2021-252912024-03-06vendor · osvUS
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries.
- PYSEC-2021-372021-03-19vendor · osvUS
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2021-25291cnnvd
- https://packetstormsecurity.com/files/161765/Ubuntu-Security-Notice-USN-4763-1.htmlcnnvd
- https://packetstormsecurity.com/files/163500/Gentoo-Linux-Security-Advisory-202107-33.htmlcnnvd
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.htmlcnnvd
- https://security.gentoo.org/glsa/202107-33cnnvd
- https://ubuntu.com/security/notices/USN-4763-1Patchcnnvd
- https://vigilance.fr/vulnerability/Pillow-five-vulnerabilities-34834cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0887cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan