Feed
5.5MEDIUM

CVE-2021-28675Pillow denial of service

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

Exploited in the wild
Not in KEV
EPSS
1.2%
percentile 68%
Priority
9/100 low
how it is computed
Fix
Named by a source
CVE published 2 Jun 2021

Reference

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

EPSS 1.2% (+1) · No privileges required (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected< 8.2.0Fixed in8.2.0OSV (PYSEC-2021-139)

Confirmed facts

CVSS
5.5 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-g6rj-rv7j-xwp4)
Attack vector
local
Attack complexity
low
Privileges required
none
User interaction
required
Weakness
CWE-233, CWE-252

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.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`.

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 50 min ago · osv 49 min ago · nvd 19 min ago · epss 49 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2021-28675, GHSA-g6rj-rv7j-xwp4, PYSEC-2021-139