CVE-2025-66034
fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 29, 2025
- Updated
- Dec 1, 2025
- Reserved
- Nov 21, 2025
Description
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 .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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.3 Medium | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L | GitHub_M |
Weaknesses
- CWE-91 XML Injection (aka Blind XPath Injection)
Affected Products
| Product | Versions |
|---|---|
fonttoolsfonttools |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.