Live threats

All CVEs / Python

CVE-2020-35655Python Pillow

Medium 5.4 No auth needed

Priority
48
CVSS 3.1
5.4
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Jan 12, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L

What happens

In Pillow before 8.1.0, SGIRleDecode has a 4-byte buffer over-read when decoding crafted SGI RLE image files because offsets and length tables are mishandled.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pillow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pillow ≥ 4.3.0 < 8.1.0 8.1.0 pip install "pillow>=8.1.0"
PyPI pillow ≥ 4.3.0 < 8.1.0 8.1.0 pip install "pillow>=8.1.0"

Per OSV / GitHub Advisories (GHSA-hf64-x4gq-p99h, PYSEC-2021-71). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonpillow≥ 4.3.0 < 8.1.0
fedoraprojectfedora32
fedoraprojectfedora33

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.