{"id":"CVE-2026-96643","revision":"0712b0f330c94b92a794d0259eb45064","records":[{"revision":"0712b0f330c94b92a794d0259eb45064","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-96643","aliases":[],"title":"Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time","description":"Pillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with the six-byte Exif header. src/PIL/PngImagePlugin.py accepts an uncapped PNG eXIf chunk, so a file filled with repeated headers causes a new shrinking copy on every iteration and quadratic CPU work. The condition is reachable through Image.getexif(), Image._getexif(), and ImageOps.exif_transpose(), including common photo-upload rotation workflows. This issue is fixed in version 13.0.0.","state":0,"publishedAt":"2026-10-21T20:56:26.344+00:00","modifiedAt":"2026-10-21T20:56:26.344+00:00","affected":[{"ecosystem":"Vendor product","name":"Pillow","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"python-pillow\",\n                    \"product\": \"Pillow\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 11.0.0, < 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:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"severity":"HIGH"}],"references":["https://github.com/python-pillow/Pillow/security/advisories/GHSA-g4qv-2jxx-769h","https://github.com/python-pillow/Pillow/pull/10073","https://github.com/python-pillow/Pillow/commit/806e38381c781f32bbd22f4cd026678acd40fd6c","https://github.com/python-pillow/Pillow/releases/tag/13.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-96643","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-96643","identifiers":["CVE-2026-96643"]},"retained":false,"historicalAffected":[]}],"coverage":[]}