6.5

CVE-2021-25292: python pillow

Modified
AliasesALPINE-CVE-2021-25292GHSA-9hx2-hgq2-2g4fBIT-pillow-2021-25292
Published 19-03-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-25292 is a medium (CVSS 6.5) vulnerability in python pillow. EPSS estimates a 1.73% chance of exploitation in the next 30 days, higher than 78.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
1.73%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 9

Timeline

  1. 19-03-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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 metrics

7 scores · 5 sources · 3 versions

EPSS trend

Probability

1.73%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.73% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu2 products
  • pillow< 5.1.0-1ubuntu0.5 | < 7.0.0-4ubuntu0.3
  • pillow-python2All versions (No fix recorded)
Alpine1 product
  • py3-pillow< 8.1.2-r0
Debian1 product
  • pillow< 8.1.1-1
PyPI1 product
  • pillow≥ 5.1.0, < 8.1.1 | < 8.1.1
Python1 product

5 vendors · 6 products

References

14 links
Show all 14 references