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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-19 · Modified: 2026-10-22
- Aliases: DEBIAN-CVE-2026-112394, GHSA-4558-3h8r-v8xp, CGA-5c38-7927-rgc4, CGA-8cww-7vmx-29jx, CGA-f9g9-j2m7-5qf8, CGA-j3mj-6j55-46f5, CGA-6rqw-fg7h-2qrh, CGA-c6qc-4vjv-xgch, CGA-f8xp-r5p2-hgp8, CGA-rmrq-99p7-h9wj, CGA-23gr-wv4p-j739, CGA-27jv-6j6h-9c8q, CGA-3qpx-gfpj-9c24, CGA-42q5-8c8w-hf8r, CGA-46c5-mpwm-gj56, CGA-47gh-qcfh-qjp3, CGA-4cwg-3jf3-2x6j, CGA-4m7g-x9x8-6qfp, CGA-4vqq-42cx-27f5, CGA-7cg7-5cq5-pr54, CGA-gx62-c46v-vvc2, CGA-j73x-57v5-f5fr, CGA-m824-9gfc-7c32, CGA-q2gv-3rvj-8cqm, CGA-q8cv-wcq5-jg2x, CGA-vm86-66q5-6cw9, CGA-wjwv-v8c7-4v2r, CGA-22m9-pg7v-jxh9, CGA-hmcv-p2qf-ffcx, CGA-jmhr-cmqv-44gh, CGA-6c2p-7g97-w9mc, CGA-7934-jccq-3hpf, CGA-8hvp-m75m-v7qg, CGA-9rcj-8vq6-29x8, CGA-fqrq-hc7w-8wrq, CGA-jjcj-p4hv-mxgp, CGA-mm47-6ff3-j4j5, CGA-qpq7-5gqv-3hgm, UBUNTU-CVE-2026-112394, CGA-h445-jqr2-gf84, CGA-j5cc-8f39-rhwm, CGA-wf36-5p63-27r4, CGA-x7rm-f53v-7fp4, CGA-p6jc-9m48-27xh, BIT-pillow-2026-112394, CGA-6499-4h96-rjh9, PYSEC-2026-4327
- Record: https://cvemate.com/vulnerability/CVE-2026-112394 · JSON: https://cvemate.com/vulnerability/CVE-2026-112394/json

## Description

```text
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's P;2L and P;4L raw decoders can read past the end of an input buffer. ImagingRawDecode calculates a packed-pixel row size, while the unpackers read separately padded bit planes. A caller can supply a buffer and image dimensions whose accepted size is smaller than the unpacker's actual footprint. This can disclose up to three adjacent heap bytes in output pixels or crash the process. This issue is fixed in version 13.0.0.
```

## Signals

- CVSS: 8.2 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- EPSS: 0.6%, percentile 50.189%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 37)

- chainguard apache-beam-python-3.12-sdk (Chainguard): All versions (No fix recorded) \| \< 2.77.0-r5
- chainguard mlflow (Chainguard): All versions (No fix recorded) \| \< 3.17.2-r2
- chainguard mlflow-fips (Chainguard): All versions (No fix recorded) \| \< 3.17.2-r3
- chainguard nemo-gym (Chainguard): All versions (No fix recorded) \| \< 0.5.0\_rc0\_git20260729-r6
- chainguard nemo-rl-cuda-13.0 (Chainguard): All versions (No fix recorded)
- chainguard nemo-rl-cuda-13.0-automodel (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-mcore (Chainguard): \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-sglang (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-vllm (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-skills (Chainguard): \< 0.7.0\_git20260911-r5
- chainguard open-webui (Chainguard): \< 0.12.3-r6 \| All versions (No fix recorded)
- chainguard openstack-horizon-2025.2 (Chainguard): All versions (No fix recorded) \| \< 25.5.2\_git20260914-r12
- chainguard py3.10-pillow (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-12.6 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-13.2 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-vllm-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.11-pillow (Chainguard): All versions (No fix recorded) \| \< 13.0.0-r0
- chainguard py3.11-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 2.14.1-r2
- chainguard py3.12-pillow (Chainguard): All versions (No fix recorded) \| \< 13.0.0-r0

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-4558-3h8r-v8xp>
- <https://github.com/python-pillow/Pillow/commit/392ee6f0d19a4adb766a63e9a99f3c28193b8d31>
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0>
- <https://security-tracker.debian.org/tracker/CVE-2026-112394>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112394>
- <https://github.com/python-pillow/Pillow/pull/9723>
- <https://github.com/python-pillow/Pillow>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112394.json>
- <https://ubuntu.com/security/CVE-2026-112394>
- <https://www.cve.org/CVERecord?id=CVE-2026-112394>
- <https://ubuntu.com/security/notices/USN-9064-1>

---

Data as of 2026-12-05T04:45:03.100Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
