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
- 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. From 5.4.0 until 13.0.0, Pillow performs quadratic copying while parsing GIF comments. GifImageFile._seek() repeatedly appends immutable bytes for comment sub-blocks and multiple comment extensions, and frame zero is parsed during Image.open(). An attacker can submit a small-dimension GIF containing many comment extensions to any application that opens the file. This can consume excessive CPU and deny service before the application can inspect the image. This issue is fixed in version 13.0.0.

