Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Pillow versions before 12.3.0 are affected: the FontFile.compile() method, used when a BDF or PCF font is converted to an ImageFont or saved, creates a combined bitmap without the decompression bomb size check. An attacker who can supply a crafted BDF or PCF font file to an application that loads it can cause very large memory allocations, which can exhaust memory and crash the process (denial of service). Upgrade to Pillow 12.3.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0042, the 36th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 3 Jul 2026, 08:33 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:11 UTC First seen by agentprime
- 31 Oct 2026, 14:11 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-5x94-69rx-g8h2
- OSV: GHSA-5x94-69rx-g8h2
- github.com/python-pillow/Pillow/security/advisories/GHSA-5x94-69rx-g8h2
- nvd.nist.gov/vuln/detail/CVE-2026-54060
- github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d
- github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2254.yaml
- github.com/python-pillow/Pillow
- github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst