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.
References
| Link | Resource |
|---|---|
| https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e | Patch |
| https://github.com/python-pillow/Pillow/releases/tag/13.0.0 | Release Notes |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-74r2-7ff9-mjj2 | Exploit Patch Vendor Advisory Mitigation |
Configurations
History
27 Oct 2026, 21:02
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
| First Time |
Python
Python pillow |
|
| CPE | cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* | |
| References | () https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e - Patch | |
| References | () https://github.com/python-pillow/Pillow/releases/tag/13.0.0 - Release Notes | |
| References | () https://github.com/python-pillow/Pillow/security/advisories/GHSA-74r2-7ff9-mjj2 - Exploit, Patch, Vendor Advisory, Mitigation |
19 Oct 2026, 22:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-19 22:17
Updated : 2026-10-27 21:02
NVD link : CVE-2026-112401
Mitre link : CVE-2026-112401
CVE.ORG link : CVE-2026-112401
JSON object : View
Products Affected
python
- pillow
CWE
CWE-407
Inefficient Algorithmic Complexity
