# CVE-2026-112391: Pillow: PdfParser can recurse without limit in get\_value() and linearize\_page\_tree()

- 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-20
- Aliases: DEBIAN-CVE-2026-112391, GHSA-254f-3936-288h, CGA-364w-xp64-5c23, CGA-3h44-3xvp-294g, CGA-q2j6-q8hr-h7jh, CGA-x3cx-m2m8-7g37, CGA-7cx8-h6w6-2c57, CGA-9h5g-8jg9-p2wv, CGA-pxrv-mw34-prhf, CGA-wpw9-2w2j-3qh9, CGA-44rc-mwxx-r7xr, CGA-5wxc-q796-9953, CGA-729g-jpx8-8c98, CGA-83rm-q6pw-w524, CGA-cg2r-m8r3-9vxr, CGA-cgq8-2cfc-95c3, CGA-cp4f-9gc6-92v6, CGA-fh8m-7mmg-j85v, CGA-g8q2-cm8w-28h8, CGA-gm67-prcm-5f5q, CGA-jvqv-x4qc-5x4v, CGA-m3hw-3hq7-ccqg, CGA-pg6x-j5c7-57xv, CGA-vwj3-97r6-5f7m, CGA-w24x-6f6j-7q3w, CGA-x5j7-g5gf-r2v5, CGA-xhxq-mj33-jxjm, CGA-6rf4-v2c4-mv79, CGA-qqj2-w2m8-cpch, CGA-5p27-pg27-wjf4, CGA-6vpc-gm7m-8px9, CGA-9pm5-wrcg-7328, CGA-f7gj-fj96-4x7f, CGA-fr55-3g87-98wr, CGA-hgxv-33f3-v79w, CGA-jgj4-m557-x29h, CGA-jhxh-5xv9-3m87, CGA-gphp-752q-5xcc, UBUNTU-CVE-2026-112391, CGA-52qj-rcx6-cv33, CGA-xc4f-m6qw-5rm9, CGA-q47x-8c2c-64xg, CGA-w96j-f2xj-rv34, CGA-x3x4-x74m-63g6, CGA-qc42-j2g7-7gvj, BIT-pillow-2026-112391
- Record: https://cvemate.com/vulnerability/CVE-2026-112391 · JSON: https://cvemate.com/vulnerability/CVE-2026-112391/json

## Description

```text
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow's PdfParser.get_value() can recurse without a limit while reading nested PDF objects. The parser follows attacker-controlled arrays and dictionaries when an existing PDF is opened for append. An attacker can provide a deeply nested PDF to an application that saves an image with PDF append enabled. This can raise an uncaught RecursionError or terminate the worker, causing denial of 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.581%, percentile 49.197%, 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) \| \< 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): \< 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): \< 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

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-254f-3936-288h>
- <https://github.com/python-pillow/Pillow/commit/94cb11c44ff7345414da17ebfea1598a529ad9cd>
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0>
- <https://security-tracker.debian.org/tracker/CVE-2026-112391>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112391>
- <https://github.com/python-pillow/Pillow>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112391.json>
- <https://ubuntu.com/security/CVE-2026-112391>
- <https://www.cve.org/CVERecord?id=CVE-2026-112391>
- <https://ubuntu.com/security/notices/USN-9064-1>

---

Data as of 2026-12-05T05:11:08.154Z. 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
