In Pillow before 8.1.0, SGIRleDecode has a 4-byte buffer over-read when decoding crafted…
Priority LOW 28CWE-125Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
EPSS 0.01663 76th percentileScored 2026-11-07
Fix Partial pillow (PyPI): 8.1.0Red Hat: 1 advisoryRed Hat: 1 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | pillow (PyPI) | 4.3.0 to before 8.1.0 | 8.1.0 | Patch available | GHSA-hf64-x4gq-p99h |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- pillow (PyPI) Vendor— Affected 4.3.0 to before 8.1.0 Fixed in 8.1.0 Patch available GHSA-hf64-x4gq-p99h
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* | 4.3.0 to before 8.1.0 | Vulnerable | python-pillow |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
- cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* Versions 4.3.0 to before 8.1.0 Vulnerable ·python-pillow
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-hf64-x4gq-p99h pillow (PyPI) Fixed in 8.1.0 Advisory →
Red Hat 1 advisory
- RHSA-2021:4149 Released 2021-11-09 · Red Hat rating Moderatepython-pillow security update
- Red Hat Enterprise Linux AppStream (v. 8) python-pillow-5.1.1-16.el8, python3-pillow-5.1.1-16.el8
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:4149 |
Not affected: 2 products
- Red Hat Enterprise Linux 9
- Red Hat Quay 3
Timeline
- 2026-10-02 Threatist record created from CVE-2020-35655
- 2026-10-03 Alias added: GHSA-hf64-x4gq-p99h
References
Advisory 5
Other 6
- https://github.com/python-pillow/Pillow/commit/2f409261eb1228e166868f8f0b5da5cda52e55bf
- https://github.com/python-pillow/Pillow/commit/7e95c63fa7f503f185d3d9eb16b9cee1e54d1e46
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-71.yaml
- https://github.com/python-pillow/Pillow
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD
Sources
- CVE-2020-35655 · CVE Program
- CVE-2020-35655 · NVD
- FIRST EPSS
- GHSA-hf64-x4gq-p99h · GitHub Advisory Database · CC BY 4.0
- CVE-2020-35655 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences