High severity · published Mar 11, 2025
CVE-2025-27363
FreeType Out-of-Bounds Write Vulnerability
In wildKEV
8.1
CVSS
27.8%
EPSS
Yes
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)27.8% · higher than 98% of CVEs
Exploited in the wildYes
CISA KEVListed May 6, 2025
Federal remediation dueMay 27, 2025
Ransomware campaign useNot known
Affected products
Which versions
FR
FreeType · FreeType
0.0.0 through 2.13.0 · source: vendor, NVD, KEV
DL
Debian Linux · Debian
11.0 · source: NVD
Affected product
FR
FreeType
FreeType
More from FreeType
9.6
CVE-2020-15999
Google Chrome FreeType Heap Buffer Overflow Vulnerability
9.8
CVE-2022-27404
FreeType commit 1e2eb65048f75c64b68708efed6ce904c31f3b2f was discovered to contain a heap buffer overflow via the function sfnt_init_face
9.8
CVE-2015-9290
In FreeType before 2.6.1, a buffer over-read occurs in type1/t1parse.c on function T1_Get_Private_Dict where there is no check that the new values of cur and limit are sensible…
9.8
CVE-2017-8287
FreeType 2 before 2017-03-26 has an out-of-bounds write caused by a heap-based buffer overflow related to the t1_builder_close_contour function in psaux/psobjs.c
9.8
CVE-2017-8105
FreeType 2 before 2017-03-24 has an out-of-bounds write caused by a heap-based buffer overflow related to the t1_decoder_parse_charstrings function in psaux/t1decode.c