{"cve":"CVE-2021-25292","nvd":{"published":"2021-03-19T04:15:13.590","modified":"2026-06-17T03:41:46.760","status":"Modified","description":"An issue was discovered in Pillow before 8.1.1. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-1333"],"references":["https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html","https://security.gentoo.org/glsa/202107-33","https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html","https://security.gentoo.org/glsa/202107-33"],"products":["python:pillow"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-25292","score":0.01727,"percentile":0.77568,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-9hx2-hgq2-2g4f","url":"https://osv.dev/vulnerability/GHSA-9hx2-hgq2-2g4f","summary":"Regular Expression Denial of Service (ReDoS) in Pillow","modified":"2024-10-09T21:24:57.273766Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=5.1.0 <8.1.1"],"fixed":["8.1.1"]}]},{"id":"PYSEC-2021-38","url":"https://osv.dev/vulnerability/PYSEC-2021-38","summary":"","modified":"2023-12-06T01:00:57.715274Z","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."]}