Name | CVE-2020-10378 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
pillow (PTS) | bullseye (security), bullseye | 8.1.2+dfsg-0.3+deb11u2 | fixed |
| bookworm, bookworm (security) | 9.4.0-1.1+deb12u1 | fixed |
| sid, trixie | 10.4.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
pillow | source | jessie | (not affected) | | | |
pillow | source | stretch | (not affected) | | | |
pillow | source | buster | 5.4.1-2+deb10u2 | | | |
pillow | source | (unstable) | 7.2.0-1 | | | |
Notes
[stretch] - pillow <not-affected> (Vulnerable code not present)
[jessie] - pillow <not-affected> (Vulnerable code not present)
https://github.com/python-pillow/Pillow/pull/4538
https://github.com/python-pillow/Pillow/pull/4506
https://github.com/python-pillow/Pillow/commit/124f4bb591e16212605d0e41c413ed53e242cba2 (Test)
Fixed by: https://github.com/python-pillow/Pillow/commit/6a83e4324738bb0452fbe8074a995b1c73f08de7
https://github.com/python-pillow/Pillow/commit/ada137eba5b605fd5aeff619c33bbf0e53af26ee (Test)
Fixed in 6.2.3 and 7.1.0