Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-59200
Published:July 14, 2026
Updated:August 04, 2026
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.
Affected Packages
pillow (CONDA):
Affected version(s) >=5.1.0 <12.3.0
Fix Suggestion:
Update to version 12.3.0
https://github.com/python-pillow/Pillow.git (GITHUB):
Affected version(s) >=5.1.0 <12.3.0
Fix Suggestion:
Update to version 12.3.0
pillow (PYTHON):
Affected version(s) >=5.1.0 <12.3.0
Fix Suggestion:
Update to version 12.3.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Resource Consumption
Allocation of Resources Without Limits or Throttling
EPSS
Base Score:
0.39