# CVE-2026-112401: Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-19 · Modified: 2026-10-20
- Aliases: DEBIAN-CVE-2026-112401, GHSA-74r2-7ff9-mjj2, CGA-3hr9-mx8p-3qfm, CGA-4x5r-h5qp-7gmv, CGA-5m2q-9h75-x4jc, CGA-f266-89rx-g22p, CGA-2wp6-6rfx-3p3x, CGA-87rf-3rj5-q66j, CGA-cvwp-r29h-x49r, CGA-qx82-f47w-8v3x, CGA-2jw2-7q5q-p6pp, CGA-37rc-rfjg-87v7, CGA-5cm4-qq9w-xxfq, CGA-5p9w-6r6x-g9xr, CGA-662w-rmrv-fp9w, CGA-6jqj-cvfj-78m5, CGA-6pgc-w2vv-fjjj, CGA-f4hq-2gqc-3q5h, CGA-f5rp-8vxh-rwx9, CGA-g7rx-344r-xw9w, CGA-hxg8-hfhr-x3w2, CGA-j7pr-9c33-jc8h, CGA-qgw5-2w4w-x9p5, CGA-r643-9j4g-846r, CGA-wm3q-f474-jrr3, CGA-2557-q9r5-5q6g, CGA-4fw3-24w3-hrmw, CGA-5fcv-rg5p-rwr5, CGA-9g3x-x5pf-5gc3, CGA-hmg4-hfwg-jgm9, CGA-24cv-2w42-4235, CGA-4ppp-3346-hr7x, CGA-77m5-w5m8-85fx, CGA-8cvh-xq96-3mj4, CGA-cm23-xh4w-hwmr, CGA-cx67-72qj-72wq, CGA-jg4f-j357-r99r, CGA-mw42-frj6-g96h, CGA-qvh3-4r7f-326q, CGA-5g3x-jpw3-rp5g, CGA-jjqr-95cp-97wc, CGA-mv5c-4756-76h5, UBUNTU-CVE-2026-112401, CGA-wc7w-3865-x9mh, CGA-p5gg-hvmj-g87w, BIT-pillow-2026-112401
- Record: https://cvemate.com/vulnerability/CVE-2026-112401 · JSON: https://cvemate.com/vulnerability/CVE-2026-112401/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.649%, percentile 52.535%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 36)

- chainguard apache-beam-python-3.12-sdk (Chainguard): All versions (No fix recorded) \| \< 2.77.0-r5
- chainguard mlflow (Chainguard): All versions (No fix recorded) \| \< 3.17.2-r2
- chainguard mlflow-fips (Chainguard): All versions (No fix recorded) \| \< 3.17.2-r3
- chainguard nemo-gym (Chainguard): All versions (No fix recorded) \| \< 0.5.0\_rc0\_git20260729-r6
- chainguard nemo-rl-cuda-13.0 (Chainguard): All versions (No fix recorded)
- chainguard nemo-rl-cuda-13.0-automodel (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-mcore (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-sglang (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-skills (Chainguard): All versions (No fix recorded) \| \< 0.7.0\_git20260911-r5
- chainguard open-webui (Chainguard): \< 0.12.3-r6 \| All versions (No fix recorded)
- chainguard openstack-horizon-2025.2 (Chainguard): All versions (No fix recorded) \| \< 25.5.2\_git20260914-r12
- chainguard py3.10-pillow (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-12.6 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-13.2 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-vllm-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.11-pillow (Chainguard): All versions (No fix recorded) \| \< 13.0.0-r0
- chainguard py3.11-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded)
- chainguard py3.12-pillow (Chainguard): All versions (No fix recorded) \| \< 13.0.0-r0
- chainguard py3.12-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 2.14.1-r2

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-74r2-7ff9-mjj2>
- <https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e>
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0>
- <https://security-tracker.debian.org/tracker/CVE-2026-112401>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112401>
- <https://github.com/python-pillow/Pillow>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112401.json>
- <https://ubuntu.com/security/CVE-2026-112401>
- <https://www.cve.org/CVERecord?id=CVE-2026-112401>
- <https://ubuntu.com/security/notices/USN-9064-1>

---

Data as of 2026-12-05T04:22:34.742Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
