top of page
perceptive_background_267k.jpg

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 direc…

Published:

5 juli 2026 om 22:00:00

Alert date:

6 juli 2026 om 20:03:55

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Web Technologies

A vulnerability in the Python Pillow imaging library (prior to version 12.3.0) allows crafted PCF font files to cause excessive memory allocation. The flaw exists in PIL/PcfFontFile.py within the _load_bitmaps() function, which reads glyph dimensions from the PCF METRICS section and passes them directly to Image.frombytes() without invoking the decompression bomb check (Image._decompression_bomb_check()). This omission enables an attacker to supply a maliciously crafted PCF font file that triggers unbounded memory consumption, potentially leading to denial of service. The vulnerability is classified as a decompression bomb / resource exhaustion issue. It has been patched in Pillow version 12.3.0. Users are advised to upgrade to version 12.3.0 or later to mitigate the risk.

Technical details

Mitigation steps:

Affected products:

Pillow (Python Imaging Library) < 12.3.0

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page