CVE-2026-112891Pillow: Quadratic GIF comment copying during save
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.6% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.6%
- percentile 43%
- Fix
- Named by a source
- CVE published 19 Oct 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.6% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5) · CVSS 7.5: at least medium
Immediate actions
- pillow (PyPI): upgrade to 13.0.0 or later on your release line.
- Patch: https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e
- Advisory: https://github.com/python-pillow/Pillow/security/advisories/GHSA-fc9g-5qg7-mf45
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-112891
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected>= 9.2.0, < 13.0.0Fixed in13.0.0OSV (GHSA-fc9g-5qg7-mf45)
python pillow product:python/pillow
- Affected>= 9.2.0, < 13.0.0Affected range ends before13.0.0as published by CPE data (via the NVD API)
python-pillow Pillow product:pythonpillow/pillow
- Affected>= 9.2.0, < 13.0.0Affected range ends before13.0.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-407
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- yes
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 19 Oct 2026Published
References
- patchhttps://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e
- otherhttps://github.com/python-pillow/Pillow/releases/tag/13.0.0
- advisoryhttps://github.com/python-pillow/Pillow/security/advisories/GHSA-fc9g-5qg7-mf45
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-112891
- otherhttps://github.com/python-pillow/Pillow
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-112891 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-fc9g-5qg7-mf45 (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 20 min ago · osv 20 min ago · nvd 81 min ago · epss 20 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2026-112891, GHSA-fc9g-5qg7-mf45