Description
In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.
References (8)
Core 8
Core References
Broken Link x_refsource_misc
https://github.com/python-pillow/Pillow/commits/master/src/libImaging
Issue Tracking, Patch x_refsource_misc
https://github.com/python-pillow/Pillow/pull/4538
Patch x_refsource_misc
https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7#diff-9478f2787e3ae9668a15123b165c23ac
Product x_refsource_misc
https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4430-1/
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4430-2/
Scores
CVSS v3
5.5
EPSS
0.0032
EPSS Percentile
55.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Details
CWE
CWE-125
Status
published
Products (7)
canonical/ubuntu_linux
16.04
canonical/ubuntu_linux
18.04
canonical/ubuntu_linux
20.04
fedoraproject/fedora
31
fedoraproject/fedora
32
pypi/pillow
0 - 7.1.0PyPI
python/pillow
< 7.1.0
Published
Jun 25, 2020
Tracked Since
Feb 18, 2026