# CVE-2026-112901: Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, 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-20
- Aliases: DEBIAN-CVE-2026-112901, GHSA-xgh8-jp6q-p5x8, CGA-3p3m-ppx4-7jwx, CGA-g4wc-jg22-hq2w, CGA-rf7c-jj3x-3c6w, CGA-xxfq-h32x-rx37, CGA-7h94-r9rc-w9f2, CGA-h927-vjhp-746h, CGA-pp57-8mf7-qq6q, CGA-rhqg-8h5v-8gv4, CGA-32gh-c2qq-pw74, CGA-46v6-j8gp-pf3v, CGA-4xq5-fmcm-5gf3, CGA-85mg-pr3c-9p3h, CGA-8jcc-gwqv-27wj, CGA-fc9f-xg7x-g954, CGA-h2jr-r64h-qvrc, CGA-jfhw-78jc-x6jv, CGA-m5wv-rh2j-23wh, CGA-m6jx-p35c-jch6, CGA-mrvp-rhgf-j757, CGA-mvf6-6qx6-3xw3, CGA-qq9x-4j9m-v4w8, CGA-r49r-mmg5-pv7x, CGA-x2gq-v3hr-vf6w, CGA-xcqj-6h25-346w, CGA-xmc5-6f8f-gr24, CGA-2vr4-mh9v-3m4f, CGA-4793-cj67-6859, CGA-pmmg-6f2v-f26f, CGA-xj2p-4vw5-p985, CGA-2xgw-36r9-cf2h, CGA-3j3j-vpm5-9qcw, CGA-3rvp-8xpw-5q5c, CGA-4qwh-2w35-rf6j, CGA-6r46-7p9v-w6vm, CGA-8h35-rg37-5fj5, CGA-9fr7-grc6-gqc7, CGA-9g9v-f5hq-46qh, CGA-c9vv-qfv6-f3c9, CGA-2wmj-cm5q-vq32, UBUNTU-CVE-2026-112901, CGA-g4jm-59vf-wx8g, CGA-x88f-x8jv-5396, BIT-pillow-2026-112901, CGA-f724-9pwp-hwgp, PYSEC-2026-4335
- Record: https://cvemate.com/vulnerability/CVE-2026-112901 · JSON: https://cvemate.com/vulnerability/CVE-2026-112901/json

## Description

```text
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's XBM header parser is vulnerable to regular-expression denial of service. In XbmImageFile._open, when an application calls Image.open() on a small crafted XBM file, XbmImagePlugin applies a backtracking expression to the attacker-controlled header before image dimensions are accepted, stalling a worker for minutes and denying service. This issue is fixed in version 13.0.0.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.532%, percentile 46.425%, 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 36)

- 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) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-automodel (Chainguard): All versions (No fix recorded)
- chainguard nemo-rl-cuda-13.0-mcore (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): All versions (No fix recorded) \| \< 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
- chainguard py3.12-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 2.14.1-r2

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-xgh8-jp6q-p5x8>
- <https://github.com/python-pillow/Pillow/commit/2852a3e3d568997ddec745fc800991f138878f4b>
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0>
- <https://security-tracker.debian.org/tracker/CVE-2026-112901>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112901>
- <https://github.com/python-pillow/Pillow>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112901.json>
- <https://ubuntu.com/security/CVE-2026-112901>
- <https://www.cve.org/CVERecord?id=CVE-2026-112901>
- <https://ubuntu.com/security/notices/USN-9064-1>

---

Data as of 2026-12-05T03:08:55.812Z. 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
