Out-of-Bounds Write Vulnerability in FreeType 2.13.0 Enabling Arbitrary Code Execution
An out of bounds write exists in FreeType versions 2.13.0 and below 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.
Vulnerable Product | Search on Vulmon | Subscribe to Product |
---|---|---|
freetype freetype |
Google fixes actively exploited FreeType flaw on Android By Bill Toulas May 6, 2025 09:33 AM 0 Google has released the May 2025 security updates for Android with fixes for 45 security flaws, including an actively exploited zero-click FreeType 2 code execution vulnerability. FreeType is a popular open-source font rendering library that displays and programmatically adds text to images. The flaw, tracked as CVE-2025-27363, is a high-severity arbitrary code execution bug discovered by Facebook...
Facebook discloses FreeType 2 flaw exploited in attacks By Bill Toulas March 12, 2025 05:04 PM 0 Facebook is warning that a FreeType vulnerability in all versions up to 2.13 can lead to arbitrary code execution, with reports that the flaw has been exploited in attacks. FreeType is a popular open-source font rendering library used to display text and programmatically add text to images. It provides functionality to load, rasterize, and render fonts in various formats, such as TrueType (TTF), Open...