Feed
5.5MEDIUM

CVE-2021-28678Insufficient Verification of Data Authenticity in Pillow

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

Exploited in the wild
Not in KEV
EPSS
0.7%
percentile 50%
Priority
8/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 0.7% (+1) · No privileges required (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected>= 5.1.0, < 8.2.0Fixed in8.2.0OSV (GHSA-hjfx-8p6c-g7gx)
    • Affected< 8.2.0Fixed in8.2.0OSV (PYSEC-2021-94)

Confirmed facts

CVSS
5.5 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-hjfx-8p6c-g7gx)
Attack vector
local
Attack complexity
low
Privileges required
none
User interaction
required
Weakness
CWE-345

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 BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.

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

Also known as BIT-pillow-2021-28678, GHSA-hjfx-8p6c-g7gx, PYSEC-2021-94