Logo
vulnerabilityCVE-2025-27363
Name
CVE-2025-27363
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
freetype
Patched

Vulnerability Ratings#


8.1
CVSSv31
8.1
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
2.13.3
Not Affected
buildroot
master
2.14.3
Not Affected
openwrt
master
2.13.3-r2
Not Affected
openwrt
openwrt-25.12
2.13.3-r1
Not Affected
yocto
master
2.14.3
Not Affected
yocto
scarthgap
2.13.2
Patched

Resolved with patches#


freetype (yocto:kirkstone)

#
Title
Author
Resolve
1
fix OOB write when when attempting to parse font subglyph
Marc Deslauriers <marc.deslauriers@ubuntu.com>
CVE-2025-27363

freetype (yocto:scarthgap)

#
Title
Author
Resolve
1
* src/truetype/ttgload.c (load_truetype_glyph): Unsigned fix.
Alexei Podtelezhnikov <apodtele@gmail.com>
CVE-2025-27363