THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-462x-pgg6-55fp (medium) — Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)

[GHSA] GHSA-462x-pgg6-55fp (medium) — Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)

medgithub_advisoriesPublished 2026-10-20

GHSA-462x-pgg6-55fp Severity: medium CVE: CVE-2026-112395

Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)

### Summary

Pillow's libImaging `_decodeTile` decoder, used to decode tiled TIFF images, allocates a per-tile buffer using `realloc(state->buffer, TIFFTileSize(tiff))`. After each `TIFFReadTile` it then iterates `tile_y` from 0 up to `current_tile_length` and calls

Indicators of compromise

Original source: https://github.com/advisories/GHSA-462x-pgg6-55fp