THREAT OPS › Threat News › [GHSA] GHSA-58r4-6rv3-gfh8 (high) — Pillow: Out-of-bounds access in _imagingmorph on a zero-width image
[GHSA] GHSA-58r4-6rv3-gfh8 (high) — Pillow: Out-of-bounds access in _imagingmorph on a zero-width image
GHSA-58r4-6rv3-gfh8 Severity: high CVE: CVE-2026-112397
Pillow: Out-of-bounds access in _imagingmorph on a zero-width image
### Summary A PPM or PGM file can declare a width of 0, which Pillow accepts, producing an image of size `(0, N)`. Passing that image to `ImageMorph.MorphOp.apply()` makes the native morphology code index a row buffer at `outrow[width - 1]`, which is `outrow[-1]` when the w
Indicators of compromise
- CVE-2026-112397cve
Original source: https://github.com/advisories/GHSA-58r4-6rv3-gfh8