CVE-2021-25292: python pillow
CVSS: 6.5v3.1MediumModified
AliasesALPINE-CVE-2021-25292GHSA-9hx2-hgq2-2g4fBIT-pillow-2021-25292PYSEC-2021-38UBUNTU-CVE-2021-25292DEBIAN-CVE-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.64% chance of exploitation in the next 30 days, higher than 75.9% of scored vulnerabilities.
CVSS score
6.5/10
010
Medium · v3.1 (NVD)EPSS score
1.64%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 10 · Related 9Timeline
- 19-03-2021PublishedVulnerability first disclosed.
- 03-08-2024Last 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 versionsMedium 6.9Preferred score · OSV · Pypi (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NSourcesSingle source
Medium 6.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HSourcesAll 5 agree
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Medium 4.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
1.64%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
0.00 pp
From 1.64% on 18-09-2026
18-09-202618-10-2026
EPSS score1.64%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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
- pillow< 8.1.1
5 vendors · 6 products
References
14 links- pillow.readthedocs.io/en/stable/releasenotes/8.1.1.htmlX Refsource MISCWEBREPORTRelease NotesVendor Advisory