CVE-2026-59200

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*

History

21 Jul 2026, 15:52

Type Values Removed Values Added
CPE cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
First Time Python
Python pillow
References () https://github.com/python-pillow/Pillow/commit/f7a31ea75e460e108c37126da1f47812f21f6b09 - () https://github.com/python-pillow/Pillow/commit/f7a31ea75e460e108c37126da1f47812f21f6b09 - Patch
References () https://github.com/python-pillow/Pillow/pull/9718 - () https://github.com/python-pillow/Pillow/pull/9718 - Issue Tracking, Patch
References () https://github.com/python-pillow/Pillow/releases/tag/12.3.0 - () https://github.com/python-pillow/Pillow/releases/tag/12.3.0 - Release Notes
References () https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565 - () https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565 - Exploit, Vendor Advisory

14 Jul 2026, 20:18

Type Values Removed Values Added
References () https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565 - () https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565 -

14 Jul 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-14 17:17

Updated : 2026-07-21 15:52


NVD link : CVE-2026-59200

Mitre link : CVE-2026-59200

CVE.ORG link : CVE-2026-59200


JSON object : View

Products Affected

python

  • pillow
CWE
CWE-400

Uncontrolled Resource Consumption

CWE-770

Allocation of Resources Without Limits or Throttling