# CVE-2026-54060: Pillow: \`FontFile.compile()\`: \`Image.new()\` called without \`\_decompression\_bomb\_check()\`

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 12.3.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-06 · Modified: 2026-07-07
- Aliases: GHSA-5x94-69rx-g8h2, BIT-pillow-2026-54060, PYSEC-2026-2254, UBUNTU-CVE-2026-54060, DEBIAN-CVE-2026-54060, CGA-9whm-5pv4-rj3j, CGA-cqf5-v9hp-hm35, CGA-g8h8-xhmj-262j, CGA-mjm6-gg4x-jf54, CGA-p384-4v93-4h7v, CGA-pvxj-gx6c-gjwg, CGA-q969-3mg4-76wp, CGA-r9fq-jpfh-8jpj, CGA-rcv5-89ff-p424, CGA-v8h3-c56r-5vfh, CGA-vwmj-xvg3-h848, CGA-w22c-69m9-485g, CGA-wrqg-8rgg-8hxx, CGA-x3r6-fwrh-4cp3, CGA-xrm2-rfhc-qw7j, CGA-28pp-vjf5-7h95, CGA-2hjq-84r4-f4v7, CGA-58jg-m557-xw8q, CGA-6hx4-4vh4-g6c3, CGA-85qq-39v6-7qqw, CGA-8g85-959q-6m9m, CGA-9762-xwxr-crr5, CGA-cxvr-935r-4xc4, CGA-g298-49gw-pxh6, CGA-jcpr-5mp6-g32x, CGA-p6g2-cv25-hgr5, CGA-q3hx-hw2v-w387, CGA-q6jv-8wpv-p5mf, CGA-w2qh-x3pw-7hpc, CGA-wc8r-qqhf-cqvp, CGA-xm9v-h8j5-r93w, ALPINE-CVE-2026-54060
- Record: https://cvemate.com/vulnerability/CVE-2026-54060 · JSON: https://cvemate.com/vulnerability/CVE-2026-54060/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.418%, percentile 38.085%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 27)

- alpine py3-pillow (Alpine Linux): \< 12.3.0-r0
- chainguard label-studio (Chainguard): \< 1.23.0-r11
- chainguard lmcache-cuda-12.8 (Chainguard): \< 0.5.3-r0
- chainguard mlflow (Chainguard): \< 3.14.0-r2 \| \< 3.16.0-r0
- chainguard open-webui (Chainguard): All versions (No fix recorded) \| \< 0.10.2-r1 \| \< 0.11.0-r0
- chainguard openstack-horizon-2025.2 (Chainguard): \< 25.5.2\_git20260617-r4
- chainguard openstack-horizon-2025.2-fips (Chainguard): \< 25.5.2\_git20260617-r5
- chainguard openstack-horizon-2026.1 (Chainguard): \< 25.7.3\_git20260630-r2
- chainguard openstack-horizon-2026.1-fips (Chainguard): \< 25.7.3\_git20260630-r2
- chainguard superset-6.0 (Chainguard): \< 6.0.0-r13
- chainguard superset-6.1 (Chainguard): \< 6.1.0-r6
- chainguard superset-6.1-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard superset-fips-6.1 (Chainguard): \< 6.1.0-r5
- chainguard tensorflow-gpu-jupyter (Chainguard): \< 2.21.0-r7
- chainguard text-generation-inference (Chainguard): \< 3.3.7-r20
- chainguard tritonserver-backend-vllm-cuda-13.0 (Chainguard): \< 25.11-r11
- wolfi mlflow (Wolfi): \< 3.14.0-r2 \| \< 3.16.0-r0
- wolfi open-webui (Wolfi): All versions (No fix recorded) \| \< 0.10.2-r1 \| \< 0.11.0-r0
- wolfi superset-6.0 (Wolfi): \< 6.0.0-r13
- wolfi superset-6.1 (Wolfi): \< 6.1.0-r6

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-5x94-69rx-g8h2>
- <https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d>
- <https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54060>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2254.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://ubuntu.com/security/CVE-2026-54060>
- <https://www.cve.org/CVERecord?id=CVE-2026-54060>
- <https://security-tracker.debian.org/tracker/CVE-2026-54060>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54060.json>
- <https://ubuntu.com/security/notices/USN-8999-1>
- <https://security.alpinelinux.org/vuln/CVE-2026-54060>

---

Data as of 2026-12-05T04:12:50.977Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
