PT-2026-117673
CVE-2026-112891
·
Published
2026-10-19
·
Updated
2026-11-20
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Pillow versions 9.2.0 through 12.11.0
Description
When saving a GIF with a long comment, the library performs quadratic copying. The
get global header() function repeatedly copies portions of comment data while assembling the global header, which may include comments from an untrusted input image. An attacker can provide an image containing a large GIF comment to an application that saves it as a GIF, leading to excessive CPU consumption and potential denial of service.Recommendations
Update to version 13.0.0.
Found an issue in the description? Have something to add? Feel free to write us 👾