python-pillow/pillow · Security
Out-of-bounds Write in Pillow
- GHSA ID
- GHSA-8xjq-8fcg-g5hw
- CVE ID
- CVE-2021-25290
- 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.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
CWEs
- CWE-787 · Out-of-bounds Write
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25290 ↗
- https://github.com/python-pillow/Pillow/commit/86f02f7c70862a0954bfe8133736d352db978eaa ↗
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html ↗
- https://security.gentoo.org/glsa/202107-33 ↗
- https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html ↗
- 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 ↗