—
PYSEC-2020-77
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / pillow
Introduced in:
0 Fixed in: 6a83e4324738bb0452fbe8074a995b1c73f08de7 Fix
pip install --upgrade 'pillow>=6a83e4324738bb0452fbe8074a995b1c73f08de7' References
- https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html [WEB]
- https://github.com/python-pillow/Pillow/commits/master/src/libImaging [WEB]
- https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7#diff-9478f2787e3ae9668a15123b165c23ac [FIX]
- https://github.com/python-pillow/Pillow/pull/4538 [WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/ [WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/ [WEB]
- https://usn.ubuntu.com/4430-1/ [WEB]
- https://usn.ubuntu.com/4430-2/ [WEB]
- https://github.com/advisories/GHSA-3xv8-3j54-hgrp [ADVISORY]