CVE-2026-59199
published high CVSS 3.1 · 7.5Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow< 12.3.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3839 | Fixed | Not stated | 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 | AL2 | python-pillowaarch64 | Listed in advisory | Not stated | ALAS2-2026-3839 |
| 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 79 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 |
| 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 | AL2 | python-pillowi686 | Listed in advisory | Not stated | ALAS2-2026-3839 |
| Amazon Linux | AL2 | python-pillowsrc | Listed in advisory | Not stated | ALAS2-2026-3839 |
| Amazon Linux | AL2 | python-pillowx86_64 | Listed in advisory | Not stated | ALAS2-2026-3839 |
| Amazon Linux | AL2023 | python-pillowaarch64 | Listed in advisory | Not stated | ALAS2023-2026-2013 |
| 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. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in Image.paste(), Image.crop(), or Image.alpha_composite(). 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
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| python-pillow | Pillow | < 12.3.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-190 CWE-190: Integer Overflow or Wraparound
- CWE-787 CWE-787: Out-of-bounds Write
References
4Provider assertions
2GitHub_M · cna
Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f0f290093ab1d0545bc0ebcd52c3e29b356de500416ac1707ae178902fab235d
- Ingested
- 23 Sep 2026, 09:22:29 UTC
- Source record
- Official CVE record