CVE-2026-112403
published critical CVSS 4.0 · 9.2Pillow: Heap buffer overflow in ImagingJpegDecode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow< 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 | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| Ubuntu | bionic | pillow | Advisory build | 5.1.0-1ubuntu0.8+esm3 | USN-9064-1 |
| 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 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowaarch64 | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowaarch64 | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24701-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowppc64le | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillows390x | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowx86_64 | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24701-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tks390x | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowaarch64 | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowppc64le | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillows390x | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowx86_64 | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tks390x | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillowaarch64 | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillowppc64le | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillows390x | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillowx86_64 | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillow-tks390x | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| Ubuntu | bionic | python-pil | Advisory build | 5.1.0-1ubuntu0.8+esm3 | USN-9064-1 |
| Ubuntu | bionic | python-pil.imagetk | Advisory build | 5.1.0-1ubuntu0.8+esm3 | USN-9064-1 |
| Ubuntu | bionic | python3-pil | Advisory build | 5.1.0-1ubuntu0.8+esm3 | USN-9064-1 |
| Ubuntu | bionic | python3-pil.imagetk | Advisory build | 5.1.0-1ubuntu0.8+esm3 | USN-9064-1 |
| Ubuntu | noble | pillow | Advisory build | 10.2.0-1ubuntu1.5 | USN-9064-1 |
| Ubuntu | noble | python3-pil | Advisory build | 10.2.0-1ubuntu1.5 | USN-9064-1 |
| Ubuntu | noble | python3-pil.imagetk | Advisory build | 10.2.0-1ubuntu1.5 | USN-9064-1 |
| Ubuntu | resolute | pillow | Advisory build | 12.1.1-2ubuntu1.5 | USN-9064-1 |
| Ubuntu | resolute | python3-pil | Advisory build | 12.1.1-2ubuntu1.5 | USN-9064-1 |
| Ubuntu | resolute | python3-pil.imagetk | Advisory build | 12.1.1-2ubuntu1.5 | USN-9064-1 |
| Ubuntu | stonking | pillow | Advisory build | 12.3.0-1ubuntu2 | USN-9064-1 |
| Ubuntu | stonking | python3-pil | Advisory build | 12.3.0-1ubuntu2 | USN-9064-1 |
| Ubuntu | stonking | python3-pil.imagetk | Advisory build | 12.3.0-1ubuntu2 | USN-9064-1 |
| Ubuntu | trusty | pillow | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python-imaging | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python-imaging-compat | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python-imaging-sane | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python-imaging-tk | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python-pil | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python-pil.imagetk | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python-sane | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python3-imaging | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python3-imaging-sane | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python3-imaging-tk | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python3-pil | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python3-pil.imagetk | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | trusty | python3-sane | Advisory build | 2.3.0-1ubuntu3.4+esm6 | USN-9064-1 |
| Ubuntu | xenial | pillow | Advisory build | 3.1.2-0ubuntu1.6+esm4 | USN-9064-1 |
| Ubuntu | xenial | python-imaging | Advisory build | 3.1.2-0ubuntu1.6+esm4 | USN-9064-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input. 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
- 9.2 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/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 | < 13.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-122 CWE-122: Heap-based Buffer Overflow
References
3Provider assertions
2GitHub_M · cna
Pillow: Heap buffer overflow in ImagingJpegDecode
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 463a995fce1cc8d6ea1a90d7882f6387444da09f7a4c6e10c211ed1d9bd0659b
- Ingested
- 22 Oct 2026, 21:24:48 UTC
- Source record
- Official CVE record