CVE-2021-25292

python-pillow: Regular expression DoS in PDF format parser

Published Mar 19, 2021 CVSS 3.1 · 6.5 Medium EPSS 1.7% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0175 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.
Github GHSA Github GHSA GHSA-9hx2-hgq2-2g4f Regular Expression Denial of Service (ReDoS) in Pillow
Ubuntu USN Ubuntu USN USN-4763-1 Pillow vulnerabilities
History

No history.

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 7:56 PM
Reserved
Jan 17, 2021, 12:00 AM
Status
Modified
Published
Mar 19, 2021, 4:15 AM
Modified
Jun 17, 2026, 3:41 AM
Severity
Moderate
Public date
Feb 28, 2021, 12:00 AM