python-pillow/pillow · Security
Pillow Out-of-bounds Read
- GHSA ID
- GHSA-hf64-x4gq-p99h
- CVE ID
- CVE-2020-35655
- Severity
- medium
- Published
- Updated
- CVSS
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- CVSS v3
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- CVSS v4
- 6.3 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-125 · Out-of-bounds Read
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-35655 ↗
- https://pillow.readthedocs.io/en/stable/releasenotes/index.html ↗
- https://github.com/python-pillow/Pillow/commit/2f409261eb1228e166868f8f0b5da5cda52e55bf ↗
- https://github.com/python-pillow/Pillow/commit/7e95c63fa7f503f185d3d9eb16b9cee1e54d1e46 ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD ↗
- https://github.com/advisories/GHSA-hf64-x4gq-p99h ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-71.yaml ↗