CVEvulnerability
CVE-2026-54059
7.5 HIGH
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
- https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst Release Notes
- https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d Patch
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-8v84-f9pq-wr9x Exploit, Vendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-8v84-f9pq-wr9x Exploit, Vendor Advisory