PyPA Advisory Database
PYSEC-2020-79
Details
In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pillow | All versions before 7.0.0 (fixed in 7.0.0) |
References
- https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html
- https://pillow.readthedocs.io/en/stable/releasenotes/
- https://github.com/python-pillow/Pillow/commits/master/src/libImaging/
- https://github.com/python-pillow/Pillow/pull/4538
- https://github.com/python-pillow/Pillow/pull/4505
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HOKHNWV2VS5GESY7IBD237E7C6T3I427/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BEBCPE4F2VHTIT6EZA2YZQZLPVDEBJGD/
- https://usn.ubuntu.com/4430-1/
- https://usn.ubuntu.com/4430-2/
- https://github.com/advisories/GHSA-vj42-xq3r-hr3r