CVE-2026-112891
High 7.5 P4 · Monitor (12/100)Pillow is a Python imaging library. From 9.2.0 until 13.0.0, Pillow performs quadratic copying when saving a GIF with a long comment. _get_…
Confirmed facts from the sources
- CVSS
- 7.5 (High) · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by nvd@nist.gov - Exploitation confirmed
- Not in the CISA KEV catalog
- Exploitation estimated (EPSS)
- 0.61 % · percentile 43.4 % (as of 30.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation. - Public exploit
- No reference to a public exploit.
- Fix
- Fix available
- Monitored technologies
- No monitored technology
Description (source)
Pillow is a Python imaging library. From 9.2.0 until 13.0.0, Pillow performs quadratic copying when saving a GIF with a long comment. _get_global_header() repeatedly copies portions of comment data while assembling the global header, including comments retained from an untrusted input image. An attacker can supply an image with a large GIF comment to an application that saves it as GIF. This can consume excessive CPU and delay or deny service. This issue is fixed in version 13.0.0.
Affected products and versions
| Vendor / product | Affected versions | Fixed in | Source |
|---|---|---|---|
| python-pillow Pillow | = >= 9.2.0, < 13.0.0 | — | nvd |
| python pillow | >= 9.2.0, < 13.0.0 | — | nvd |
Versions as published. “Fixed in” only where a source names the version explicitly.
Recommended mitigation
- github.com (Patch)
In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.
AI interpretation
No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.
Why this priority?: P4 · Monitor (12/100)
- Estimated exploitation probability 0.61 % (EPSS, percentile 43.4 %) – an estimate, not confirmation (+0)
- Technical severity: CVSS 7.5 (HIGH) – on its own not a reason for top priority (+12)
- Fix available – plan the update (+0)
Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.
Original advisories and links
- Advisory https://github.com/python-pillow/Pillow/security/advisories/GHSA-fc9g-5qg7-mf45 · security-advisories@github.com
- Advisory https://nvd.nist.gov/vuln/detail/CVE-2026-112891 · nvd
- Patch https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e · security-advisories@github.com
- Reference https://github.com/python-pillow/Pillow/releases/tag/13.0.0 · security-advisories@github.com