CVE-2026-96643
published high CVSS 4.0 · 7.1Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow>= 11.0.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 | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-16 | python313-Pillowaarch64 | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| Ubuntu | resolute | pillow | Advisory build | 12.1.1-2ubuntu1.5 | USN-9064-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 |
Show 27 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | 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 | 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 |
Description
Pillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with the six-byte Exif header. src/PIL/PngImagePlugin.py accepts an uncapped PNG eXIf chunk, so a file filled with repeated headers causes a new shrinking copy on every iteration and quadratic CPU work. The condition is reachable through Image.getexif(), Image._getexif(), and ImageOps.exif_transpose(), including common photo-upload rotation workflows. 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
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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 | >= 11.0.0, < 13.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
4Provider assertions
2GitHub_M · cna
Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 87d0f1d1e1b1a74a4764797701a0829cdbd0e837268d07f0fe1f92f1c29d56db
- Ingested
- 23 Oct 2026, 21:26:46 UTC
- Source record
- Official CVE record