python-pillow/pillow · Security
Out of bounds read in Pillow
- GHSA ID
- GHSA-mvg9-xffr-p774
- CVE ID
- CVE-2021-25291
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-125 · Out-of-bounds Read
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25291 ↗
- https://github.com/python-pillow/Pillow/commit/cbdce6c5d054fccaf4af34b47f212355c64ace7a ↗
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html ↗
- https://security.gentoo.org/glsa/202107-33 ↗
- https://github.com/python-pillow/Pillow/commit/8b8076bdcb3815be0ef0d279651d8d1342b8ea61 ↗
- https://github.com/advisories/GHSA-mvg9-xffr-p774 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-37.yaml ↗