Security Resilience

CVE-2025-66034

Fonttools 4.33.0 – 4.60.2

Public PoC
Published
29 November 2025
Modified
18 October 2026
Patch / advisory
CVSS Score v3.1 6.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L
EPSS Score 0.0059 49th percentile
Risk Priority 47 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-66034 is a medium-severity aka Blind XPath Injection (CWE-91) vulnerability in Fonttools. Its CVSS base score is 6.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 49th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-66034 is an arbitrary file write vulnerability in the fontTools Python library for manipulating fonts, affecting versions 4.33.0 through 4.60.1. The issue resides in the fonttools varLib script (invoked via python3 -m fontTools.varLib or fontTools.varLib.main()), which processes .designspace files. A malicious .designspace file can trigger the vulnerability in the main() code path, enabling arbitrary file writes that lead to remote code execution.

The vulnerability has a CVSS v3.1 base score of 6.3 (AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L) and is associated with CWE-91 (XML Injection). Exploitation requires local access and high attack complexity, with no privileges needed but user interaction required, such as tricking a user into running the varLib CLI on a crafted .designspace file. Successful exploitation allows an attacker to achieve remote code execution through arbitrary file writes, with high integrity impact, low availability impact, and changed scope.

The vulnerability has been patched in fontTools version 4.60.2. Security practitioners should upgrade to this version or later. Additional details are available in the GitHub security advisory (GHSA-768j-98cg-p3fv) and the patching commit (a696d5ba93270d5954f98e7cab5ddca8a02c1e32).

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

fontTools is a library for manipulating fonts, written in Python. In versions from 4.33.0 to before 4.60.2, the fonttools varLib (or python3 -m fontTools.varLib) script has an arbitrary file write vulnerability that leads to remote code execution when a malicious…

more

.designspace file is processed. The vulnerability affects the main() code path of fontTools.varLib, used by the fonttools varLib CLI and any code that invokes fontTools.varLib.main(). This issue has been patched in version 4.60.2.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-45139Same product: Fonttools Fonttools
CVE-2025-24404Shared CWE-91
CVE-2025-49538Shared CWE-91
CVE-2026-126177Shared CWE-91
CVE-2025-54251Shared CWE-91
CVE-2023-27328Shared CWE-91
CVE-2026-76979Shared CWE-91
CVE-2026-2310Shared CWE-91
CVE-2026-11169Shared CWE-91
CVE-2026-44665Shared CWE-91

Affected Assets

fonttools
fonttools
4.33.0 — 4.60.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Input validation directly stops unneutralized XML metacharacters from reaching the parser.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC directly requires input neutralization and validation that eliminates XML injection flaws.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing catches XML injection during development but does not itself implement the fix.

finds

Monitoring can detect exploitation but provides no preventive control over XML handling.

removes

A.8.19 governs the process of installing and updating software on operational systems to maintain integrity, but XML Injection (CWE-91) is a first-party code defect introduced during implementation, not a flaw in a third-party component that an installation or update process would replace or remove.

prevents

Secure coding standards require proper neutralization of XML metacharacters, directly eliminating CWE-91.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses like XML injection the way those practices do, at `partial` -- the practice is fallible and a different clause carries the stronger effect. A.8.30 carries a declared CEILING of `partial` on this verb.

References