First published: Tue Mar 11 2025(Updated: )
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.
Credit: cve-assign@fb.com
Affected Software | Affected Version | How to fix |
---|---|---|
FreeType | <2.13.0 | |
debian/freetype | <=2.10.4+dfsg-1+deb11u1<=2.12.1+dfsg-5+deb12u3 | 2.10.4+dfsg-1+deb11u2 2.12.1+dfsg-5+deb12u4 2.13.3+dfsg-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-27363 is rated as a high severity vulnerability due to the potential for remote code execution or crashes.
To fix CVE-2025-27363, upgrade FreeType to version 2.13.1 or later to mitigate the out of bounds write issue.
CVE-2025-27363 affects FreeType versions 2.13.0 and below.
CVE-2025-27363 is an out of bounds write vulnerability that occurs when parsing certain font structures.
If exploited, CVE-2025-27363 could lead to application crashes or execution of arbitrary code on affected systems.