CVE-2026-112895
published high CVSS 4.0 · 8.7Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow>= 5.1.0, < 13.0.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | python3-pillow | Advisory build | 5.1.1-33.el8_10 | ALSA-2026:92639 |
| Oracle Linux | 8 | python3-pillowaarch64 | Advisory build | 0:5.1.1-33.el8_10 | ELSA-2026-92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-15.el8_4.3 | RHSA-2026:98120 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| AlmaLinux | 8 | python3-pillow-devel | Advisory build | 5.1.1-33.el8_10 | ALSA-2026:92639 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | python3-pillow-doc | Advisory build | 5.1.1-33.el8_10 | ALSA-2026:92639 |
| AlmaLinux | 8 | python3-pillow-tk | Advisory build | 5.1.1-33.el8_10 | ALSA-2026:92639 |
| Oracle Linux | 8 | python3-pillowx86_64 | Advisory build | 0:5.1.1-33.el8_10 | ELSA-2026-92639 |
| Oracle Linux | 8 | python3-pillow-develaarch64 | Advisory build | 0:5.1.1-33.el8_10 | ELSA-2026-92639 |
| Oracle Linux | 8 | python3-pillow-develx86_64 | Advisory build | 0:5.1.1-33.el8_10 | ELSA-2026-92639 |
| Oracle Linux | 8 | python3-pillow-docaarch64 | Advisory build | 0:5.1.1-33.el8_10 | ELSA-2026-92639 |
| Oracle Linux | 8 | python3-pillow-docx86_64 | Advisory build | 0:5.1.1-33.el8_10 | ELSA-2026-92639 |
| Oracle Linux | 8 | python3-pillow-tkaarch64 | Advisory build | 0:5.1.1-33.el8_10 | ELSA-2026-92639 |
| Oracle Linux | 8 | python3-pillow-tkx86_64 | Advisory build | 0:5.1.1-33.el8_10 | ELSA-2026-92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-20.el8_6.2 | RHSA-2026:98111 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoaarch64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoi686 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoppc64le | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoppc64le | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfos390x | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-15.el8_4.3 | RHSA-2026:98120 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-20.el8_6.2 | RHSA-2026:98111 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceaarch64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcei686 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceppc64le | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceppc64le | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsources390x | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcex86_64 | Advisory build | 5.1.1-15.el8_4.3 | RHSA-2026:98120 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcex86_64 | Advisory build | 5.1.1-20.el8_6.2 | RHSA-2026:98111 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcex86_64 | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcex86_64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowaarch64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowi686 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowppc64le | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowppc64le | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillows390x | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowx86_64 | Advisory build | 5.1.1-15.el8_4.3 | RHSA-2026:98120 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowx86_64 | Advisory build | 5.1.1-20.el8_6.2 | RHSA-2026:98111 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowx86_64 | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowx86_64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoaarch64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoi686 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoppc64le | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoppc64le | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfos390x | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfox86_64 | Advisory build | 5.1.1-15.el8_4.3 | RHSA-2026:98120 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfox86_64 | Advisory build | 5.1.1-20.el8_6.2 | RHSA-2026:98111 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfox86_64 | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfox86_64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-develaarch64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-develi686 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-develppc64le | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-devels390x | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-develx86_64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-docnoarch | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tkaarch64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tkppc64le | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tks390x | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tkx86_64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoaarch64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoi686 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoppc64le | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoppc64le | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfos390x | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfox86_64 | Advisory build | 5.1.1-15.el8_4.3 | RHSA-2026:98120 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfox86_64 | Advisory build | 5.1.1-20.el8_6.2 | RHSA-2026:98111 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfox86_64 | Advisory build | 5.1.1-20.el8_8.2 | RHSA-2026:98109 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfox86_64 | Advisory build | 5.1.1-33.el8_10 | RHSA-2026:92639 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowaarch64 | Advisory build | 7.2.0-150300.3.33.1 | SUSE-SU-2026:5038-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowppc64le | Advisory build | 7.2.0-150300.3.33.1 | SUSE-SU-2026:5038-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillows390x | Advisory build | 7.2.0-150300.3.33.1 | SUSE-SU-2026:5038-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowx86_64 | Advisory build | 7.2.0-150300.3.33.1 | SUSE-SU-2026:5038-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow can exhaust resources while parsing an existing PDF during an append operation. PdfParser follows page-tree child references without cycle or duplication tracking and follows previous-trailer chains with only an exact repeated-offset guard, so deep or cyclic page trees and long chains of unique trailer offsets can exhaust the Python stack. Repeated non-cyclic /Kids references can also cause super-linear CPU and memory use. An attacker can supply such a PDF to an application that calls Image.save with PDF append enabled. This can raise an uncaught RecursionError or consume excessive CPU and memory before output is written, causing denial of service. This issue is fixed in version 13.0.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| python-pillow | Pillow | >= 5.1.0, < 13.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-674 CWE-674: Uncontrolled Recursion
References
3Provider assertions
2GitHub_M · cna
Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ef73ea15c595531c2392a3545082ce5fcbd21a06c64129cbc6e93e3f7ce0585c
- Ingested
- 20 Oct 2026, 16:20:55 UTC
- Source record
- Official CVE record