CVE-2025-27363
FreeType Out-of-Bounds Write Vulnerability
- Actively exploited
- High · 8.1 of 10
- Exploited since
- 6 May 2025 added to the CISA list
- Chance of attacks
- 28% in the next 30 days (FIRST EPSS)
- Fix deadline
- 27 May 2025 for US federal agencies
- Published
- 11 Mar 2025 in the NVD
What this means
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.
CISA
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.
NIST National Vulnerability Database
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.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- FreeType FreeType
Official sources
- nvd.nist.gov/vuln/detail/CVE-2025-27363
- facebook.com/security/advisories/cve-2025-27363
- openwall.com/lists/oss-security/2025/03/13/1
- openwall.com/lists/oss-security/2025/03/13/11
- openwall.com/lists/oss-security/2025/03/13/12
- openwall.com/lists/oss-security/2025/03/13/2
- openwall.com/lists/oss-security/2025/03/13/3
- openwall.com/lists/oss-security/2025/03/13/8
- openwall.com/lists/oss-security/2025/03/14/1
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.