{"id":"CVE-2026-112395","state":"PUBLISHED","title":"Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)","description":"Pillow is a Python imaging library. From 8.2.0 until 13.0.0, Pillow's tiled-TIFF decoder can read past the tile buffer while copying four-byte pixels. In _decodeTile, libtiff can return a tile allocation smaller than the required row stride multiplied by the tile length, and Pillow's stride-and-copy loop walks beyond that allocation. An attacker can supply a crafted tiled TIFF to an application that loads it. This can expose adjacent heap data in pixels or crash the process. This issue is fixed in version 13.0.0.","publishedAt":"2026-10-19T20:59:15.098Z","updatedAt":"2026-10-28T15:24:49.805Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["python-pillow Pillow"],"affected":[{"vendor":"python-pillow","product":"Pillow","versions":[{"version":">= 8.2.0, < 13.0.0","status":"affected"}]}],"references":["https://github.com/python-pillow/Pillow/security/advisories/GHSA-462x-pgg6-55fp","https://github.com/python-pillow/Pillow/commit/76869efdbbf2ad7dccd7536520fb61b7a00ab61e","https://github.com/python-pillow/Pillow/releases/tag/13.0.0"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/112xxx/CVE-2026-112395.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-112395","state":"PUBLISHED","datePublished":"2026-10-19T20:59:15.098Z","dateUpdated":"2026-10-28T15:24:49.805Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-19T16:58:51.959Z"},"containers":{"cna":{"title":"Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)","descriptions":[{"lang":"en","value":"Pillow is a Python imaging library. From 8.2.0 until 13.0.0, Pillow's tiled-TIFF decoder can read past the tile buffer while copying four-byte pixels. In _decodeTile, libtiff can return a tile allocation smaller than the required row stride multiplied by the tile length, and Pillow's stride-and-copy loop walks beyond that allocation. An attacker can supply a crafted tiled TIFF to an application that loads it. This can expose adjacent heap data in pixels or crash the process. This issue is fixed in version 13.0.0."}],"affected":[{"vendor":"python-pillow","product":"Pillow","versions":[{"version":">= 8.2.0, < 13.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-462x-pgg6-55fp","name":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-462x-pgg6-55fp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-pillow/Pillow/commit/76869efdbbf2ad7dccd7536520fb61b7a00ab61e","name":"https://github.com/python-pillow/Pillow/commit/76869efdbbf2ad7dccd7536520fb61b7a00ab61e","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","name":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-19T20:59:15.098Z"},"source":{"advisory":"GHSA-462x-pgg6-55fp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-462x-pgg6-55fp","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-28T15:24:42.550709Z","id":"CVE-2026-112395","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-28T15:24:49.805Z"}}]}}}