{"id":"CVE-2026-112392","revision":"d7e07beebd34429599a9309fee4601d8","records":[{"revision":"d7e07beebd34429599a9309fee4601d8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-112392","aliases":[],"title":"Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images","description":"Pillow is a Python imaging library. Prior to 13.0.0, Pillow's rank-based filters can dereference invalid image storage for a zero-size image. ImagingExpand() allocates a non-empty output and then faults while replicating edges by reading the first pixel from empty input storage; ImagingRankFilter is never reached. An attacker can supply or cause creation of a zero-size image to an application that applies a rank, median, minimum, or maximum filter. This causes a native process crash. This issue is fixed in version 13.0.0.","state":0,"publishedAt":"2026-10-19T21:17:18.908+00:00","modifiedAt":"2026-10-20T14:50:31.632+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:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.2,"severity":"HIGH"}],"references":["https://github.com/python-pillow/Pillow/security/advisories/GHSA-27h8-gf7j-v5hc","https://github.com/python-pillow/Pillow/commit/443e3130a8c11594fd0e296afad497e11e678961","https://github.com/python-pillow/Pillow/releases/tag/13.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112392","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-112392","identifiers":["CVE-2026-112392"]},"retained":false,"historicalAffected":[]}],"coverage":[]}