cve.bz

CVE-2021-25292

6.5 mediumEPSS 1.7%

Medium (6.5) in python pillow. EPSS 1.7% chance of exploitation in the next 30 days. Fixed in pillow 8.1.1.

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.7% chance of exploitation in the next 30 days; higher than 77% of CVEs (scores of 2026-10-31)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9hx2-hgq2-2g4fPyPIpillow>=5.1.0 <8.1.18.1.1
PYSEC-2021-38PyPIpillow<8.1.18.1.1

References

Check your stackJSON