Affected versions
Ubuntu22.04:LTS/pillow
- Affected versions
- <9.0.1-1ubuntu0.7
- Fixed version
- 9.0.1-1ubuntu0.7
Ubuntu24.04:LTS/pillow
- Affected versions
- <10.2.0-1ubuntu1.5
- Fixed version
- 10.2.0-1ubuntu1.5
Ubuntu26.04:LTS/pillow
- Affected versions
- <12.1.1-2ubuntu1.5
- Fixed version
- 12.1.1-2ubuntu1.5
Ubuntu26.10/pillow
- Affected versions
- <12.3.0-1ubuntu2
- Fixed version
- 12.3.0-1ubuntu2
UbuntuPro:14.04:LTS/pillow
- Affected versions
- <2.3.0-1ubuntu3.4+esm6
- Fixed version
- 2.3.0-1ubuntu3.4+esm6
UbuntuPro:16.04:LTS/pillow
- Affected versions
- <3.1.2-0ubuntu1.6+esm4
- Fixed version
- 3.1.2-0ubuntu1.6+esm4
UbuntuPro:18.04:LTS/pillow
- Affected versions
- <5.1.0-1ubuntu0.8+esm3
- Fixed version
- 5.1.0-1ubuntu0.8+esm3
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/pillow
- Affected versions
- <7.0.0-4ubuntu0.9+esm2
- Fixed version
- 7.0.0-4ubuntu0.9+esm2
Description
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's P;2L and P;4L raw decoders can read past the end of an input buffer. ImagingRawDecode calculates a packed-pixel row size, while the unpackers read separately padded bit planes. A caller can supply a buffer and image dimensions whose accepted size is smaller than the unpacker's actual footprint. This can disclose up to three adjacent heap bytes in output pixels or crash the process. This issue is fixed in version 13.0.0.

