CVEvulnerability

CVE-2026-54059

7.5 HIGH Published 2026-07-06 Modified 2026-10-25 Official page ↗
Status
Analyzed
Published
2026-07-06
Last modified
2026-10-25
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-789

Description

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 configurations

• python pillow (< 12.3.0)

Related

Weakness · CWE (1)

  • CWE-789 Memory Allocation with Excessive Size Value weakness

References