{"cve":"CVE-2021-25290","nvd":{"published":"2021-03-19T04:15:13.357","modified":"2026-06-17T03:41:46.527","status":"Modified","description":"An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-787"],"references":["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","https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html","https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html"],"products":["debian:debian_linux","python:pillow"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-25290","score":0.02372,"percentile":0.83849,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-8xjq-8fcg-g5hw","url":"https://osv.dev/vulnerability/GHSA-8xjq-8fcg-g5hw","summary":"Out-of-bounds Write in Pillow","modified":"2024-10-08T13:23:21.252680Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<8.1.1"],"fixed":["8.1.1"]}]},{"id":"PYSEC-2021-36","url":"https://osv.dev/vulnerability/PYSEC-2021-36","summary":"","modified":"2023-12-06T01:00:57.594160Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<8.1.1"],"fixed":["8.1.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}