Integer overflow in FreeType - CVE-2025-23022

 

Integer overflow in FreeType - CVE-2025-23022

Published: May 12, 2025


Vulnerability identifier: #VU108929
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-23022
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: freetype.org
Affected software:
FreeType

Detailed vulnerability description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to integer overflow within the cf2_doFlex() function in cff/cf2intrp.c. A remote attacker can pass specially crafted image to the application, trigger an integer overflow and perform a denial of service (DoS) attack.


How to mitigate CVE-2025-23022

Install updates from vendor's website.

Sources