Arbitrary code execution via subglyph allocation wrap
Published Mar 11, 2025 · Updated Apr 19, 2026
Out-of-bounds write in FreeType 2.13.0 and earlier allows remote attackers to execute arbitrary code via a crafted variable font. During TrueType GX and variable-font subglyph parsing, a signed short is converted to unsigned long before four is added, wrapping the size and allocating an undersized heap buffer. Processing the font can then write up to six signed long integers beyond that buffer, causing a crash or arbitrary code execution without authentication or user interaction.
Summary
What happened
Out-of-bounds write in FreeType 2.13.0 and earlier allows remote attackers to execute arbitrary code via a crafted variable font. During TrueType GX and variable-font subglyph parsing, a signed short is converted to unsigned long before four is added, wrapping the size and allocating an undersized heap buffer. Processing the font can then write up to six signed long integers beyond that buffer, causing a crash or arbitrary code execution without authentication or user interaction.
The record
- CVE
- CVE-2025-27363
- Published
- Mar 11, 2025
- Updated
- Apr 19, 2026
- Vendor
- FreeType
- Product
- FreeType
- Classifications
- CWE-787
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 11, 2025CVE publishedPublication date reported by the CVE source.
- Apr 19, 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=0.0.0 <=2.13.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
- CVE-2025-27363 FreeType crash proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities catalog entryknown exploited catalog
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