CVE-2025-27363

high

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.

References

https://www.securityweek.com/freetype-zero-day-being-exploited-in-the-wild/

https://thehackernews.com/2025/03/meta-warns-of-freetype-vulnerability.html

https://www.facebook.com/security/advisories/cve-2025-27363

https://www.bleepingcomputer.com/news/security/facebook-discloses-freetype-2-flaw-exploited-in-attacks/

http://www.openwall.com/lists/oss-security/2025/03/14/4

http://www.openwall.com/lists/oss-security/2025/03/14/3

http://www.openwall.com/lists/oss-security/2025/03/14/2

http://www.openwall.com/lists/oss-security/2025/03/14/1

http://www.openwall.com/lists/oss-security/2025/03/13/8

http://www.openwall.com/lists/oss-security/2025/03/13/3

http://www.openwall.com/lists/oss-security/2025/03/13/2

http://www.openwall.com/lists/oss-security/2025/03/13/12

http://www.openwall.com/lists/oss-security/2025/03/13/11

http://www.openwall.com/lists/oss-security/2025/03/13/1

Details

Source: Mitre, NVD

Published: 2025-03-11

Updated: 2025-03-14

Risk Information

CVSS v2

Base Score: 7.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: High