CVE-2025-23022 Integer overflow in FreeType
Medium 4.0
Published
Updated
Check this codebase for CVE-2025-23022 and fix it if it is affected.
What it is: 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.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-23022 exists.
Affected product: Freetype Freetype. No package-level version data is available, so check the vendor advisory linked from the reference page.
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/CVE-2025-23022/ (Markdown: https://insights.sbomify.com/CVE-2025-23022/index.md)
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 SP5 | All versions | 2.6.3-7.24.1 |
ft2demos SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 2.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.
Other vulnerabilities in Freetype Freetype
Sources
Also known as GHSA-7429-74cp-cgh9, SUSE-SU-2025:1528-1.