Pillow is a Python imaging library. Prior to 13.0.0, Pillow's XBM header parser is vulnerable to regular-expression denial of service. In XbmImageFile._open, when an application calls Image.open() on a small crafted XBM file, XbmImagePlugin applies a backtracking expression to the attacker-controlled header before image dimensions are accepted, stalling a worker for minutes and denying service. This issue is fixed in version 13.0.0.
References
| Link | Resource |
|---|---|
| https://github.com/python-pillow/Pillow/commit/2852a3e3d568997ddec745fc800991f138878f4b | Patch |
| https://github.com/python-pillow/Pillow/releases/tag/13.0.0 | Release Notes |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-xgh8-jp6q-p5x8 | Exploit Mitigation Patch Vendor Advisory |
Configurations
History
27 Oct 2026, 14:54
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
| CPE | cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* | |
| First Time |
Python
Python pillow |
|
| References | () https://github.com/python-pillow/Pillow/commit/2852a3e3d568997ddec745fc800991f138878f4b - 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-xgh8-jp6q-p5x8 - Exploit, Mitigation, Patch, Vendor Advisory |
19 Oct 2026, 22:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-19 22:17
Updated : 2026-10-27 14:54
NVD link : CVE-2026-112901
Mitre link : CVE-2026-112901
CVE.ORG link : CVE-2026-112901
JSON object : View
Products Affected
python
- pillow
CWE
CWE-1333
Inefficient Regular Expression Complexity
