FreeType · FreeType
CVE-2025-27363
FreeType Out-of-Bounds Write Vulnerability
What it is
An out of bounds write exists in FreeType versions 2.13.0 and below (newer versions of FreeType are not vulnerable) when attempting to parse font subglyph structures related to TrueType GX and variable font files. The vulnerable code assigns a signed short value to an unsigned long and then adds a static value causing it to wrap around and allocate too small of a heap buffer. The code then writes up to 6 signed long integers out of bounds relative to this buffer. This may result in arbitrary code execution. This vulnerability may have been exploited in the wild.
CISA: FreeType contains an out-of-bounds write vulnerability when attempting to parse font subglyph structures related to TrueType GX and variable font files that may allow for arbitrary code execution.
What to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Deadline for US federal agencies: May 27, 2025
- Added to the CISA list
- May 6, 2025
- Published
- March 11, 2025
- Severity
- High 8.1 CVSS 3.1
- Chance of attacks in the next 30 days (EPSS)
- 28% in the top 1.9% of all known vulnerabilities
- Weakness
- CWE-787
- More details
- NVD · CVE.org · CISA
All references (1)
Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.