THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-4558-3h8r-v8xp (medium) — Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size

[GHSA] GHSA-4558-3h8r-v8xp (medium) — Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size

highgithub_advisoriesPublished 2026-10-21

GHSA-4558-3h8r-v8xp Severity: medium CVE: CVE-2026-112394

Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size

### Summary

On `main`, even with the guard in #9725, it's possible to have these decoders read 1 to 3 bytes past the end of the passed buffer with a suitable width/height.

### Details

`ImagingRawDecode` and the `P;2L` / `P;4L` unpackers disagree about how

Indicators of compromise

Original source: https://github.com/advisories/GHSA-4558-3h8r-v8xp