{"id":"CVE-2026-112395","published":"2026-10-19T20:59:15Z","modified":"2026-10-28T15:24:49Z","title":"Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)","vendor":"python-pillow","product":"Pillow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00582,"percentile":0.41768,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"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","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":8.35},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"python-pillow","affectedVersions":[{"vendor":"python-pillow","product":"Pillow","versions":[">= 8.2.0, < 13.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-28T15:24:42.550709Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":[">=8.2.0, <13.0.0"],"patched":["13.0.0"],"from":["GHSA-462x-pgg6-55fp"],"provenance":"source"}],"summary":{"text":"The Pillow imaging library's tiled-TIFF decoder, in the copy4 routine at Unpack.c:1290, can read past the end of a tile buffer while copying four-byte pixels, because the libtiff allocation can be smaller than the row stride multiplied by the tile length. An attacker who can supply a crafted tiled TIFF to an application that loads it, with no authentication or user interaction required over the network, can expose adjacent heap data in pixel output or crash the process; the issue affects Pillow versions from 8.2.0 through 13.0.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:53Z"},"euvd":{"id":"EUVD-2026-104606","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-python-pillow-pillow-cve-2026-112395","children":[{"from":"CVE-2026-112395","to":"CVE-2026-112404","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/TiffDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/76869efdbbf2ad7dccd7536520fb61b7a00ab61e","https://github.com/python-pillow/Pillow/commit/1d4773e6cea0c4a2814e6d4cdc099bbcf56da6ce"],"basis":"shared function","functions":["_decodeTile"]}]},{"from":"CVE-2026-112395","to":"CVE-2026-112897","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/libImaging/TiffDecode.c"],"commits":["https://github.com/python-pillow/Pillow/commit/76869efdbbf2ad7dccd7536520fb61b7a00ab61e","https://github.com/python-pillow/Pillow/commit/1d4773e6cea0c4a2814e6d4cdc099bbcf56da6ce"],"basis":"shared function","functions":["_decodeTile"]}]}]}}