Application crash via unchecked font bitmap allocation
Published Jul 6, 2026 · Updated Jul 6, 2026
Excessive allocation in Pillow before 12.3.0 allows remote attackers to crash applications by supplying a crafted BDF or PCF font. FontFile.compile() sums attacker-controlled glyph dimensions into one bitmap and calls Image.new() without the decompression-bomb check used for ordinary images. Exploitation requires an application to convert or save the font; the resulting allocation can exhaust memory and terminate that process.
Summary
What happened
Excessive allocation in Pillow before 12.3.0 allows remote attackers to crash applications by supplying a crafted BDF or PCF font. FontFile.compile() sums attacker-controlled glyph dimensions into one bitmap and calls Image.new() without the decompression-bomb check used for ordinary images. Exploitation requires an application to convert or save the font; the resulting allocation can exhaust memory and terminate that process.
The record
- CVE
- CVE-2026-54060
- Published
- Jul 6, 2026
- Updated
- Jul 6, 2026
- Vendor
- Pillow
- Product
- Pillow
- Classifications
- CWE-789, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 6, 2026CVE publishedPublication date reported by the CVE source.
- Jul 6, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 12.3.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-5x94-69rx-g8h2 proof-of-concept scriptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo