{"id":"CVE-2026-112901","revision":"d3e4e60b740945afbda116df10c7c020","records":[{"revision":"d3e4e60b740945afbda116df10c7c020","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-112901","aliases":[],"title":"Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes","description":"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.","state":0,"publishedAt":"2026-10-19T22:09:52.614+00:00","modifiedAt":"2026-10-20T16:08:29.821+00:00","affected":[{"ecosystem":"Vendor product","name":"Pillow","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"python-pillow\",\n                    \"product\": \"Pillow\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 13.0.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9,"severity":"MEDIUM"}],"references":["https://github.com/python-pillow/Pillow/security/advisories/GHSA-xgh8-jp6q-p5x8","https://github.com/python-pillow/Pillow/commit/2852a3e3d568997ddec745fc800991f138878f4b","https://github.com/python-pillow/Pillow/releases/tag/13.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112901","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-112901","identifiers":["CVE-2026-112901"]},"retained":false,"historicalAffected":[]}],"coverage":[]}