Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-54060

python-pillow: Pillow: Denial of Service via excessive memory allocation when processing font files

Overview

Published
6 Jul 2026
Modified
25 Oct 2026
High CVE
4 Registry packages
39 OS packages
16 Linux distributions
Yes Fix available

Description

Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image._decompression_bomb_check(), allowing a font to trigger excessive allocation during conversion or saving. This issue is fixed in version 12.3.0.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-789

Affected packages · 4

Packages affected by CVE-2026-54060
EcosystemPackageVulnerableFixed in
Bitnami pillow <12.3.0 12.3.0
PyPI pillow <12.3.0 12.3.0
Seal PyPI pillow >=10.0.1+sp0, <10.0.1+sp999>=7.2.0+sp0, <7.2.0+sp999>=9.3.0+sp0, <9.3.0+sp999>=9.5.0+sp0, <9.5.0+sp999 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999
Seal PyPI seal-pillow >=10.0.1+sp1, <10.0.1+sp999>=7.2.0+sp1, <7.2.0+sp999>=9.3.0+sp1, <9.3.0+sp999>=9.5.0+sp1, <9.5.0+sp999 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999

Open a package to see all its vulnerabilities.

Operating systems · 50 fixes

Oracle Linux 1 release · 1 package

fixed 1
python3-pillow
Oracle Linux fixes for CVE-2026-54060
ReleasePackageFixed in
8 python3-pillow +3 5.1.1-22.el8_10

Red Hat 3 releases · 2 packages

affected 2 fixed 4
python-pillow python3-pillow
Red Hat fixes for CVE-2026-54060
ReleasePackageFixed inAdvisory
7 python-pillow +1 affected —
7 (satellite:el8) python-pillow affected —
8 python3-pillow 0:5.1.1-15.el8_4.2 RHSA-2026:52551
8 python3-pillow 0:5.1.1-20.el8_6 RHSA-2026:48760
8 python3-pillow 0:5.1.1-20.el8_8 RHSA-2026:48759
8 python3-pillow +3 0:5.1.1-22.el8_10 RHSA-2026:39127

SUSE Linux Enterprise 5 releases · 3 packages

fixed 6
python311-pillow python3-pillow python313-pillow
SUSE Linux Enterprise fixes for CVE-2026-54060
ReleasePackageFixed inAdvisory
15.4 python311-pillow +1 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
15.5 python311-pillow +1 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
15.6 python311-pillow +1 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
15.7 python3-pillow 7.2.0-150300.3.27.1 SUSE-SU-2026:2875-1
15.7 python311-pillow +1 9.5.0-150400.5.25.1 SUSE-SU-2026:3268-1
16.0 python313-pillow +1 11.3.0-160000.6.1 SUSE-SU-2026:22626-1

alma 1 release · 1 package

fixed 1
python3-pillow
alma fixes for CVE-2026-54060
ReleasePackageFixed in
8 python3-pillow +3 5.1.1-22.el8_10

alpine 1 release · 1 package

fixed 1
py3-pillow
alpine fixes for CVE-2026-54060
ReleasePackageFixed in
edge py3-pillow 12.3.0-r0

amazon linux 1 release · 1 package

fixed 1
python-pillow-debuginfo
amazon linux fixes for CVE-2026-54060
ReleasePackageFixed in
2023 python-pillow-debuginfo +6 9.4.0-2.amzn2023.0.9

chainguard 1 release · 13 packages

fixed 13
open-webui lmcache-cuda-12-8 label-studio tensorflow-gpu-jupyter tritonserver-backend-vllm-cuda-13-0 openstack-horizon-2025-2 +7
chainguard fixes for CVE-2026-54060
ReleasePackageFixed in
open-webui 0.11.0-r0
lmcache-cuda-12-8 0.5.3-r0
label-studio 1.23.0-r11
tensorflow-gpu-jupyter 2.21.0-r7
tritonserver-backend-vllm-cuda-13-0 25.11-r11
openstack-horizon-2025-2 25.5.2_git20260617-r4

7 more rows

debian 4 releases · 1 package

affected 3 fixed 1
pillow
debian fixes for CVE-2026-54060
ReleasePackageFixed in
11 pillow affected
12 pillow affected
13 pillow affected
14 pillow 12.3.0-1

echo 1 release · 1 package

affected 1
pillow
echo fixes for CVE-2026-54060
ReleasePackageFixed in
pillow affected

minimos 1 release · 6 packages

fixed 6
vllm-cu129 label-studio acapy-agent-1-3 acapy-agent-1-6 litellm-1-83 mlflow
minimos fixes for CVE-2026-54060
ReleasePackageFixed in
vllm-cu129 +1 0.25.0-r0
label-studio 1.23.1-r0
acapy-agent-1-3 1.3.4-r1
acapy-agent-1-6 1.6.1-r0
litellm-1-83 1.83.10-r0
mlflow 3.14.0-r1

openSUSE 1 release · 1 package

fixed 1
python313-pillow
openSUSE fixes for CVE-2026-54060
ReleasePackageFixed inAdvisory
Tumbleweed python313-pillow +3 12.3.0-2.1 openSUSE-SU-2026:11283-1

openSUSE Leap 1 release · 1 package

fixed 1
python313-pillow
openSUSE Leap fixes for CVE-2026-54060
ReleasePackageFixed inAdvisory
16.0 python313-pillow +1 11.3.0-160000.6.1 openSUSE-SU-2026:21296-1

rocky 1 release · 1 package

fixed 1
python3-pillow
rocky fixes for CVE-2026-54060
ReleasePackageFixed in
8 python3-pillow 5.1.1-22.el8_10

seal Red Hat 1 release · 1 package

fixed 1
libsolv
seal Red Hat fixes for CVE-2026-54060
ReleasePackageFixed in
8 libsolv +1 0.7.20-6.el8+sp999

ubuntu 3 releases · 1 package

fixed 3
pillow
ubuntu fixes for CVE-2026-54060
ReleasePackageFixed in
22.04 pillow 9.0.1-1ubuntu0.6
24.04 pillow 10.2.0-1ubuntu1.4
26.04 pillow 12.1.1-2ubuntu1.4

wolfi 1 release · 3 packages

fixed 3
open-webui superset-6-0 superset-6-1
wolfi fixes for CVE-2026-54060
ReleasePackageFixed in
open-webui 0.11.0-r0
superset-6-0 6.0.0-r13
superset-6-1 6.1.0-r6

References

Show all 27 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.