# CVE-2026-54059: Pillow: PcfFontFile.\_load\_bitmaps()\`: \`Image.frombytes()\` called without \`\_decompression\_bomb\_check()\` — bomb protection bypass via PCF font loading

- 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-8v84-f9pq-wr9x, BIT-pillow-2026-54059, PYSEC-2026-2253, UBUNTU-CVE-2026-54059, DEBIAN-CVE-2026-54059, CGA-33jj-c3rf-rf6c, CGA-3v93-2fx6-5p72, CGA-47vc-5cgq-6498, CGA-5w73-j834-g2cw, CGA-c2hv-wc56-3639, CGA-cvgm-45j7-94mh, CGA-frgc-pccm-mrvg, CGA-gmp2-3w64-9fpr, CGA-j6mq-h34f-rxxc, CGA-jrv9-r3p5-3pm4, CGA-qh5f-g635-wp7m, CGA-qj62-39hp-f5jm, CGA-qvc6-4c23-52g7, CGA-xcr2-x843-mcq6, CGA-xh69-xp7p-g2xj, CGA-2p8r-67w8-cjmm, CGA-5jvx-j7cq-qjg8, CGA-687j-6cv7-2q26, CGA-7qv5-9qcg-cpg9, CGA-f956-jxwq-7ffv, CGA-fh2p-pfhc-mgm5, CGA-hxff-rj3q-p7mw, CGA-j7q2-7r7m-8g7c, CGA-jcq2-r692-rjg7, CGA-jvjw-26gm-f2fw, CGA-p63j-gfx7-p943, CGA-pm2f-4873-38gg, CGA-q66j-qf42-w5vx, CGA-qmrp-54vm-949x, CGA-vv66-hwwh-4pj4, CGA-x44w-8g74-4jwv, ALPINE-CVE-2026-54059
- Record: https://cvemate.com/vulnerability/CVE-2026-54059 · JSON: https://cvemate.com/vulnerability/CVE-2026-54059/json

## Description

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

## 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.41%, percentile 37.288%, 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.16.0-r0 \| \< 3.14.0-r2
- chainguard open-webui (Chainguard): All versions (No fix recorded) \| \< 0.11.0-r0 \| \< 0.10.2-r1
- 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.16.0-r0 \| \< 3.14.0-r2
- wolfi open-webui (Wolfi): All versions (No fix recorded) \| \< 0.11.0-r0 \| \< 0.10.2-r1
- 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-8v84-f9pq-wr9x>
- <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-54059>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2253.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://ubuntu.com/security/CVE-2026-54059>
- <https://www.cve.org/CVERecord?id=CVE-2026-54059>
- <https://security-tracker.debian.org/tracker/CVE-2026-54059>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54059.json>
- <https://ubuntu.com/security/notices/USN-8999-1>
- <https://security.alpinelinux.org/vuln/CVE-2026-54059>

---

Data as of 2026-12-05T04:12:12.476Z. 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
