VDB

CVE-2026-54060

CVE-2026-54060 PUBLISHED CVSS 7.5 HIGH

Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`

Reported by github_m · Published July 6, 2026

pillow is fixed in 12.3.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pillowPyPI12.3.0
superset-6.0Wolfi6.0.0-r13
python-pillow-docAmazon Linux2.0.0-23.gitd1c6db8.amzn2.0.19
py3-pillowAlpine12.3.0-r0
python3-pillow-develerrata.rockylinux.org5.1.1-22.el8
python3-pillowerrata.rockylinux.org5.1.1-22.el8
python-pillowerrata.rockylinux.org5.1.1-22.el8
python3-pillow-tkerrata.rockylinux.org5.1.1-22.el8
python3-pillow-docerrata.rockylinux.org5.1.1-22.el8
python-pillow-debugsourceerrata.rockylinux.org5.1.1-22.el8
python3-pillow-develAmazon Linux9.4.0-2.amzn2023.0.9
python3-pillow-debuginfoerrata.rockylinux.org5.1.1-22.el8

19 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
python-pillowPillow< 12.3.0
wolfisuperset-6.00
amazon:2python-pillow-doc0
alpinepy3-pillow0
PyPIPillow0
amazon:2023python3-pillow-devel0
wolfiopen-webui0
chainguardopenstack-horizon-2025.20
chainguardopenstack-horizon-2026.10
chainguardtritonserver-backend-vllm-cuda-13.00
wolfisuperset-6.10
chainguardopen-webui0
chainguardopenstack-horizon-2026.1-fips0
amazon:2023python3-pillow0
chainguardlabel-studio0
amazon:2python-pillow-devel0
chainguardsuperset-6.10
chainguardlmcache-cuda-12.80
wolfimlflow0, 0
chainguardopenstack-horizon-2025.2-fips0

…and 10 more

Timeline

  • Jul 6, 2026 CVE Published
  • Jul 7, 2026 EPSS Score (30 in total, the first dated here)
  • Jul 7, 2026 Coalition ESS Score
  • Jul 14, 2026 Distribution Patch (17 in total, the first dated here)
  • Jul 14, 2026 Security Advisory (19 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-54060
vulnetix vdb fixes CVE-2026-54060

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-54060/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›