Feed
6.5MEDIUM

CVE-2021-25292Regular Expression Denial of Service (ReDoS) in Pillow

A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 1.7% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.7%
percentile 78%
Priority
20/100 low
how it is computed
Fix
Named by a source
CVE published 19 Mar 2021

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.7% (+2) · Network attack vector (+10) · No privileges required (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected>= 5.1.0, < 8.1.1Fixed in8.1.1OSV (GHSA-9hx2-hgq2-2g4f)
    • Affected< 8.1.1Fixed in8.1.1OSV (PYSEC-2021-38)

Confirmed facts

CVSS
6.5 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-9hx2-hgq2-2g4f)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
required
Weakness
CWE-400

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 23 min ago · osv 23 min ago · nvd 84 min ago · epss 23 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2021-25292, GHSA-9hx2-hgq2-2g4f, PYSEC-2021-38