CVE-2026-59200
Pillow: Pillow: Denial of service via crafted PDF stream
Overview
Description
Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-400, CWE-770
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | pillow | >=5.1.0, <12.3.0 | 12.3.0 |
| PyPI | pillow | >=5.1.0, <12.3.0 | 12.3.0 |
| Seal PyPI | pillow | >=10.0.1+sp0, <10.0.1+sp999>=7.2.0+sp0, <7.2.0+sp999>=9.3.0+sp0, <9.3.0+sp999>=9.5.0+sp0, <9.5.0+sp999 | 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999 |
| Seal PyPI | seal-pillow | >=10.0.1+sp1, <10.0.1+sp999>=7.2.0+sp1, <7.2.0+sp999>=9.3.0+sp1, <9.3.0+sp999>=9.5.0+sp1, <9.5.0+sp999 | 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 39 fixes
SUSE Linux Enterprise 5 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | python311-pillow +1 | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| 15.5 | python311-pillow +1 | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| 15.6 | python311-pillow +1 | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| 15.7 | python3-pillow | 7.2.0-150300.3.30.1 | SUSE-SU-2026:3084-1 |
| 15.7 | python311-pillow +1 | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| 16.0 | python313-pillow +1 | 11.3.0-160000.8.1 | SUSE-SU-2026:23217-1 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | python-pillow-debuginfo +6 | 9.4.0-2.amzn2023.0.10 |
chainguard 1 release · 13 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.0-r0 | |
| lmcache-cuda-12-8 | 0.5.3-r0 | |
| label-studio | 1.23.0-r11 | |
| tensorflow-gpu-jupyter | 2.21.0-r7 | |
| tritonserver-backend-vllm-cuda-13-0 | 25.11-r11 | |
| openstack-horizon-2025-2 | 25.5.2_git20260617-r4 |
7 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | pillow | affected |
| 12 | pillow | affected |
| 13 | pillow | affected |
| 14 | pillow | 12.3.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pillow | affected |
minimos 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| vllm-cu129 +1 | 0.25.0-r0 | |
| label-studio | 1.23.1-r0 | |
| acapy-agent-1-3 | 1.3.4-r1 | |
| acapy-agent-1-6 | 1.6.1-r0 | |
| litellm-1-83 | 1.83.10-r0 | |
| mlflow | 3.14.0-r1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python313-pillow +3 | 12.3.0-2.1 | openSUSE-SU-2026:11283-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-pillow +1 | 11.3.0-160000.8.1 | openSUSE-SU-2026:21544-1 |
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | pillow | 9.0.1-1ubuntu0.6 |
| 24.04 | pillow | 10.2.0-1ubuntu1.4 |
| 26.04 | pillow | 12.1.1-2ubuntu1.4 |
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.0-r0 | |
| superset-6-0 | 6.0.0-r13 | |
| superset-6-1 | 6.1.0-r6 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-59200
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/f7a31ea75e460e108c37126da1f47812f21f6b09
- github.com https://github.com/python-pillow/Pillow/pull/9718
- github.com https://github.com/python-pillow/Pillow/releases/tag/12.3.0
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-59200
- ubuntu.com https://ubuntu.com/security/notices/USN-8999-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-59200
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.