Vulnerability in Python Pillow
CVE-2021-28675
An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.010 (60.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 60th percentile — 60.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: -0.000
Affected products
- Python Pillow
- Fedoraproject Fedora — versions 33
Weakness classification (CWE)
Public proof-of-concept exploits
References
- pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html (Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.gentoo.org/glsa/202107-33 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-28675?
- CVE-2021-28675 is a medium-severity vulnerability in Python Pillow, classified under CWE-252. CVSS score: 5.5/10. Published 2021-06-02.
- How severe is CVE-2021-28675?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2021-28675 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.