Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-54059

Опубликовано: 06 июл. 2026
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

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.

A flaw was found in Pillow, a Python imaging library. A remote attacker could exploit this vulnerability by providing specially crafted PCF font data. This data, when processed, can lead to excessive memory allocation because the library does not properly check for decompression bombs. The primary consequence is a Denial of Service (DoS), which could make the affected system or application unavailable.

Отчет

A flaw was found in the Python Pillow library. The PcfFontFile._load_bitmaps() method reads glyph dimensions from the PCF METRICS section and passes them directly to Image.frombytes() without calling Image._decompression_bomb_check(). This allows crafted PCF font data to cause excessive memory allocation, leading to a denial of service condition. An attacker could exploit this by providing a specially crafted PCF font file to an application that uses Pillow's font loading functionality.

Меры по смягчению последствий

Do not load PCF fonts from untrusted sources. If PCF font loading is required, validate font file dimensions before passing them to Pillow, or upgrade to Pillow 12.3.0 or later which includes the fix for this vulnerability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Ansible Automation Platform 2python-pillowNot affected
Red Hat Enterprise Linux 7python-pillowNot affected
Red Hat Satellite 6satellite-capsule:el8/python-pillowNot affected
Red Hat Satellite 6satellite:el8/python-pillowAffected
Red Hat Ansible Automation Platform 2.5 for RHEL 8python3.12-pillowFixedRHSA-2026:5031904.08.2026
Red Hat Ansible Automation Platform 2.5 for RHEL 9python3.12-pillowFixedRHSA-2026:5031904.08.2026
Red Hat Ansible Automation Platform 2.6 for RHEL 9python3.12-pillowFixedRHSA-2026:5033604.08.2026
Red Hat Enterprise Linux 8python-pillowFixedRHSA-2026:3912714.07.2026
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpython-pillowFixedRHSA-2026:5255110.08.2026
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpython-pillowFixedRHSA-2026:5255110.08.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-409
https://bugzilla.redhat.com/show_bug.cgi?id=2497464python-pillow: Pillow: Denial of Service via crafted PCF font data

EPSS

Процентиль: 35%
0.0041
Низкий

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
2 месяца назад

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.

CVSS3: 7.5
nvd
2 месяца назад

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.

CVSS3: 7.5
debian
2 месяца назад

Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.p ...

CVSS3: 7.5
redos
около 1 месяца назад

Уязвимость python-pillow

CVSS3: 7.5
redos
около 1 месяца назад

Уязвимость python-pillow

EPSS

Процентиль: 35%
0.0041
Низкий

7.5 High

CVSS3