GitHub Advisory Database
GHSA-8xjq-8fcg-g5hw
Out-of-bounds Write in Pillow
Details
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pillow | All versions before 8.1.1 (fixed in 8.1.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25290
- https://github.com/python-pillow/Pillow/commit/86f02f7c70862a0954bfe8133736d352db978eaa
- https://github.com/python-pillow/Pillow/commit/e25be1e33dc526bfd1094bc778a54d8e29bf66c9
- https://github.com/advisories/GHSA-8xjq-8fcg-g5hw
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-36.yaml
- https://github.com/python-pillow/Pillow
- https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
- https://security.gentoo.org/glsa/202107-33