Feed
7.5HIGH

CVE-2021-28677Uncontrolled Resource Consumption in Pillow

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

Exploited in the wild
Not in KEV
EPSS
2.5%
percentile 85%
Priority
26/100 medium
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 2.5% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

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

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
GitHub Advisory Database (GHSA-q5hq-fp76-qmrc)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
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.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.

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 15 min ago · osv 15 min ago · nvd 76 min ago · epss 14 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2021-28677, GHSA-q5hq-fp76-qmrc, PYSEC-2021-93