CVE-2026-59198
published medium CVSS 3.1 · 6.5Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow>= 5.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 | focal | pillow | Advisory build | 7.0.0-4ubuntu0.9+esm1 | USN-8690-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 94 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 | focal | python3-pil | Advisory build | 7.0.0-4ubuntu0.9+esm1 | USN-8690-1 |
| Ubuntu | focal | python3-pil.imagetk | Advisory build | 7.0.0-4ubuntu0.9+esm1 | USN-8690-1 |
| Ubuntu | jammy | pillow | Advisory build | 9.0.1-1ubuntu0.5 | USN-8690-1 |
| Ubuntu | jammy | python3-pil | Advisory build | 9.0.1-1ubuntu0.5 | USN-8690-1 |
| Ubuntu | jammy | python3-pil.imagetk | Advisory build | 9.0.1-1ubuntu0.5 | USN-8690-1 |
| Ubuntu | noble | pillow | Advisory build | 10.2.0-1ubuntu1.3 | USN-8690-1 |
| Ubuntu | noble | python3-pil | Advisory build | 10.2.0-1ubuntu1.3 | USN-8690-1 |
| Ubuntu | noble | python3-pil.imagetk | Advisory build | 10.2.0-1ubuntu1.3 | USN-8690-1 |
| Ubuntu | resolute | pillow | Advisory build | 12.1.1-2ubuntu1.3 | USN-8690-1 |
| Ubuntu | resolute | python3-pil | Advisory build | 12.1.1-2ubuntu1.3 | USN-8690-1 |
| Ubuntu | resolute | python3-pil.imagetk | Advisory build | 12.1.1-2ubuntu1.3 | USN-8690-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 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. 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
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| python-pillow | Pillow | >= 5.2.0, < 12.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
4Provider assertions
2GitHub_M · cna
Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 44c485cfcb197b0c77a0bcf47a07782bec23e30f733741ddd9116409c8aa7cee
- Ingested
- 23 Sep 2026, 09:22:29 UTC
- Source record
- Official CVE record