CVE-2025-27363
HIGH KEVFreeType < 2.13.0 - Out-of-bounds Write in TrueType GX Subglyph Parsing
Title source: llmExploitation Summary
CVE-2025-27363 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added May 6, 2025. EIP tracks 3 public exploits from researchers including zhuowei, tin-z, ov3rf1ow.
AI-analyzed exploit summary This PoC demonstrates a heap buffer overflow in FreeType 2.13.0 by modifying the Roboto Flex font to include a composite glyph with an excessive number of subglyphs (0xfffd), triggering a crash during rendering.
Description
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.
Exploits (3)
This PoC demonstrates a heap buffer overflow in FreeType 2.13.0 by modifying the Roboto Flex font to include a composite glyph with an excessive number of subglyphs (0xfffd), triggering a crash during rendering.
This repository contains a proof-of-concept exploit for CVE-2025-27363, targeting a font-related vulnerability. The exploit includes scripts for generating malicious font files and achieving remote code execution (RCE) via crafted glyphs.
References (17)
Scores
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H