FreeType
FreeType Out-of-Bounds Write Vulnerability
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.0.0, <= 2.13.0
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Vendor advisory facebook.com/security/advisories/cve-2025-27363
Timeline
Days relative to CVE publicationFirst public PoC 12 days after publication; added to CISA KEV 56 days after publication. First PoC: zhuowei/CVE-2025-27363-proof-of-concept (created 23 Mar 2025, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 3 informational
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| zhuowei/CVE-2025-27363-proof-of-concept | 23 Mar 2025 +12 d | 39 | PoC |
| tin-z/CVE-2025-27363 | 23 Jul 2025 +134 d | 31 | PoC |
Informational 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ov3rf1ow/CVE-2025-27363 | 26 May 2025 +76 d | 3 | Informational · write-up |
| The-Maxu/PS4-FreeType-WebKit-Poc | 5 Jul 2025 +116 d | 4 | Informational · write-up |
| IsMyPhonePwned/mimic | 4 Feb 2026 +330 d | 4 | Informational · list |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.