{"id":"CVE-2021-25290","aliases":["BIT-pillow-2021-25290","GHSA-8xjq-8fcg-g5hw","PYSEC-2021-36"],"url":"https://o3.security/vulnerability/CVE-2021-25290","summary":"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.","published":"2021-03-19T04:15:13.357Z","modified":"2026-08-07T11:31:06.358211613Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"pillow","fixedVersion":"8.1.1"}],"fix":{"url":"https://github.com/python-pillow/Pillow/commit/86f02f7c70862a0954bfe8133736d352db978eaa","label":"python-pillow/Pillow@86f02f7"},"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html"},{"type":"ADVISORY","url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-33"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25290"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/86f02f7c70862a0954bfe8133736d352db978eaa"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/e25be1e33dc526bfd1094bc778a54d8e29bf66c9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8xjq-8fcg-g5hw"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-36.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:06.358211613Z"}}