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 TIFF encoder can read beyond a ColorMap buffer when retained TIFF metadata has a plane size inconsistent with BitsPerSample. A small TIFF can be opened normally and then retain a crafted ColorMap that is reused when the image is saved. An application that re-encodes the attacker's TIFF with libtiff can trigger the out-of-bounds read. This can disclose heap memory in the output or crash the process. This issue is fixed in version 13.0.0.

