# CVE-2026-42311: Pillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)

- Priority: **Routine**
- Reason: Not severe (CVSS 8.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-09 · Modified: 2026-05-12
- Aliases: GHSA-pwv6-vv43-88gr, BIT-pillow-2026-42311, PYSEC-2026-2252, UBUNTU-CVE-2026-42311, DEBIAN-CVE-2026-42311, CGA-5pj2-vf4g-h88j, CGA-958f-w7fw-mwx8, CGA-99qq-55jw-qx7w, CGA-qj5w-2jwv-ccvx, CGA-v4vw-7fmm-xfmx, CGA-xvf3-8xp5-fq52
- Record: https://cvemate.com/vulnerability/CVE-2026-42311 · JSON: https://cvemate.com/vulnerability/CVE-2026-42311/json

## Description

```text
Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.
```

## Signals

- CVSS: 8.6 high (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.15%, percentile 4.33%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard kubeflow-pipelines-visualization-server (Chainguard): \< 2.16.1-r0
- chainguard mlflow (Chainguard): \< 3.16.0-r0
- chainguard open-webui (Chainguard): \< 0.11.0-r0
- chainguard superset-6.0 (Chainguard): \< 6.0.0-r10
- wolfi kubeflow-pipelines-visualization-server (Wolfi): \< 2.16.1-r0
- wolfi mlflow (Wolfi): \< 3.16.0-r0
- wolfi open-webui (Wolfi): \< 0.11.0-r0
- wolfi superset-6.0 (Wolfi): \< 6.0.0-r10
- debian pillow (Debian): \< 11.1.0-5+deb13u3 \| \< 12.2.0-1
- ubuntu pillow (Ubuntu): \< 11.3.0-1ubuntu1.3 \| \< 12.1.1-2ubuntu1.2
- ubuntu pillow-python2 (Ubuntu): All versions (No fix recorded)
- PyPI pillow (PyPI): ≥ 10.3.0, \< 12.2.0
- python-pillow pillow: ≥ 10.3.0, \< 12.2.0
- python pillow: ≥ 10.3.0, \< 12.2.0

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr>
- <https://github.com/python-pillow/Pillow/pull/9520>
- <https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea>
- <https://github.com/python-pillow/Pillow/releases/tag/12.2.0>
- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhc>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42311>
- <https://github.com/python-pillow/Pillow>
- <https://ubuntu.com/security/CVE-2026-42311>
- <https://www.cve.org/CVERecord?id=CVE-2026-42311>
- <https://ubuntu.com/security/notices/USN-8399-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-42311>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42311.json>

---

Data as of 2026-12-05T04:47:03.969Z. 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
