CVE-2026-54059
Published:July 06, 2026
Updated:August 04, 2026
Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation. This issue is fixed in version 12.3.0.
Affected Packages
pillow (CONDA):
Affected version(s) >=2.1.0 <12.3.0Fix Suggestion:
Update to version 12.3.0pillow (CONDA):
Affected version(s) >=2.1.0 <12.3.0Fix Suggestion:
Update to version 12.3.0https://github.com/python-pillow/Pillow.git (GITHUB):
Affected version(s) >=1.0 <12.3.0Fix Suggestion:
Update to version 12.3.0pillow (PYTHON):
Affected version(s) >=1.0 <12.3.0Fix Suggestion:
Update to version 12.3.0pillow (PYTHON):
Affected version(s) >=1.0 <12.3.0Fix Suggestion:
Update to version 12.3.0Related Resources (7)
Do you need more information?
Contact UsCVSS 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)
Memory Allocation with Excessive Size Value
EPSS
Base Score:
0.41