Affected versions
Ubuntu22.04:LTS/pillow
- Affected versions
- <9.0.1-1ubuntu0.7 || =8.1.2+dfsg-0.3 || =9.0.0-1 || =9.0.1-1 || =9.0.1-1build1 || =9.0.1-1ubuntu0.1 || =9.0.1-1ubuntu0.2 || =9.0.1-1ubuntu0.3 || =9.0.1-1ubuntu0.4 || =9.0.1-1ubuntu0.5 || =9.0.1-1ubuntu0.6
- Fixed version
- 9.0.1-1ubuntu0.7
Ubuntu24.04:LTS/pillow
- Affected versions
- <10.2.0-1ubuntu1.5 || =10.0.0-1 || =10.1.0-1 || =10.2.0-1 || =10.2.0-1build1 || =10.2.0-1ubuntu1 || =10.2.0-1ubuntu1.2 || =10.2.0-1ubuntu1.3 || =10.2.0-1ubuntu1.4
- Fixed version
- 10.2.0-1ubuntu1.5
Ubuntu26.04:LTS/pillow
- Affected versions
- <12.1.1-2ubuntu1.5 || =11.3.0-1ubuntu1 || =11.3.0-1ubuntu2 || =12.0.0-1ubuntu1 || =12.1.1-1ubuntu1 || =12.1.1-2ubuntu1 || =12.1.1-2ubuntu1.1 || =12.1.1-2ubuntu1.2 || =12.1.1-2ubuntu1.3 || =12.1.1-2ubuntu1.4
- Fixed version
- 12.1.1-2ubuntu1.5
Ubuntu26.10/pillow
- Affected versions
- <12.3.0-1ubuntu2 || =12.1.1-2ubuntu1 || =12.3.0-1ubuntu1
- Fixed version
- 12.3.0-1ubuntu2
- Affected versions
- Unknown
- Fixed version
- Not reported
Description
Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow can allocate an APNG disposal background at the full canvas size before applying the decompression-bomb check. A crafted APNG with a small first frame, a very large declared canvas, and background disposal or first-frame OP_PREVIOUS reaches PngImageFile._seek while Image.open() positions frame zero. The full-canvas allocation occurs inside Image.open() without requiring pixel loading or frame iteration. This can exhaust memory and deny service. This issue is fixed in version 13.0.0.

