CVE-2026-59204
published high CVSS 4.0 · 8.7Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow>= 8.2.0, < 12.3.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2013 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| Ubuntu | jammy | pillow | Advisory build | 9.0.1-1ubuntu0.6 | USN-8999-1 |
| Amazon Linux | AL2023 | python-pillowaarch64 | Listed in advisory | Not stated | ALAS2023-2026-2013 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
Show 91 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowaarch64 | Advisory build | 7.2.0-150300.3.30.1 | SUSE-SU-2026:3084-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowppc64le | Advisory build | 7.2.0-150300.3.30.1 | SUSE-SU-2026:3084-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillows390x | Advisory build | 7.2.0-150300.3.30.1 | SUSE-SU-2026:3084-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowx86_64 | Advisory build | 7.2.0-150300.3.30.1 | SUSE-SU-2026:3084-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowaarch64 | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23217-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowaarch64 | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23228-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowppc64le | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23217-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowppc64le | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23228-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillows390x | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23217-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillows390x | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23228-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowx86_64 | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23217-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowx86_64 | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23228-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23217-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23228-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23217-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23228-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tks390x | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23217-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tks390x | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23228-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23217-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160000.8.1 | SUSE-SU-2026:23228-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowaarch64 | Advisory build | 11.3.0-160000.8.1 | OPENSUSE-SU-2026:21544-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowppc64le | Advisory build | 11.3.0-160000.8.1 | OPENSUSE-SU-2026:21544-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillows390x | Advisory build | 11.3.0-160000.8.1 | OPENSUSE-SU-2026:21544-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowx86_64 | Advisory build | 11.3.0-160000.8.1 | OPENSUSE-SU-2026:21544-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160000.8.1 | OPENSUSE-SU-2026:21544-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160000.8.1 | OPENSUSE-SU-2026:21544-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tks390x | Advisory build | 11.3.0-160000.8.1 | OPENSUSE-SU-2026:21544-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160000.8.1 | OPENSUSE-SU-2026:21544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillowaarch64 | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillowppc64le | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillows390x | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillowx86_64 | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tkaarch64 | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tkppc64le | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tks390x | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tkx86_64 | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillowaarch64 | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillowppc64le | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillows390x | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillowx86_64 | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillow-tkaarch64 | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillow-tkppc64le | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillow-tks390x | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillow-tkx86_64 | Advisory build | 12.3.0-2.1 | OPENSUSE-SU-2026:11283-1 |
| Ubuntu | jammy | python3-pil | Advisory build | 9.0.1-1ubuntu0.6 | USN-8999-1 |
| Ubuntu | jammy | python3-pil.imagetk | Advisory build | 9.0.1-1ubuntu0.6 | USN-8999-1 |
| Ubuntu | noble | pillow | Advisory build | 10.2.0-1ubuntu1.4 | USN-8999-1 |
| Ubuntu | noble | python3-pil | Advisory build | 10.2.0-1ubuntu1.4 | USN-8999-1 |
| Ubuntu | noble | python3-pil.imagetk | Advisory build | 10.2.0-1ubuntu1.4 | USN-8999-1 |
| Ubuntu | resolute | pillow | Advisory build | 12.1.1-2ubuntu1.4 | USN-8999-1 |
| Ubuntu | resolute | python3-pil | Advisory build | 12.1.1-2ubuntu1.4 | USN-8999-1 |
| Ubuntu | resolute | python3-pil.imagetk | Advisory build | 12.1.1-2ubuntu1.4 | USN-8999-1 |
| Amazon Linux | AL2023 | python-pillowsrc | Listed in advisory | Not stated | ALAS2023-2026-2013 |
| Amazon Linux | AL2023 | python-pillowx86_64 | Listed in advisory | Not stated | ALAS2023-2026-2013 |
Description
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.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 | >= 8.2.0, < 12.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
4Provider assertions
2GitHub_M · cna
Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b573cbe48a182027675465039e094d7309cab49087cfe716e412bb25bbb303f7
- Ingested
- 23 Sep 2026, 09:22:29 UTC
- Source record
- Official CVE record