CVE-2025-23022 Integer overflow in FreeType

Medium 4.0 Published Updated

A signed integer overflow in FreeType's CFF interpreter can cause a denial of service when processing malicious fonts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-23022?

CVE-2025-23022 is a medium-severity vulnerability in Freetype Freetype, published on 10 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

FreeType 2.8.1 has a signed integer overflow in cf2_doFlex in cff/cf2intrp.c.

Weakness: CWE-190

Which versions are affected by CVE-2025-23022?

It affects 1 product.

Linux distribution packages (2)
freetype2 SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions2.6.3-7.24.1
ft2demos SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions2.6.3-7.24.1

Products include Freetype Freetype.

How do I fix CVE-2025-23022?

Apply the vendor's patch.

Is CVE-2025-23022 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-23022 exists.

All Freetype Freetype vulnerabilities

Sources

Also known as GHSA-7429-74cp-cgh9, SUSE-SU-2025:1528-1.

Is CVE-2025-23022 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free