CVE-2025-66034: fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib
Affects fonttoolsSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 4.60.2 when convenient.
Data as of 21 Nov 2026, 03:38 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.3 |
|---|
- Patch
- Available – fixed in 4.60.2
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 29 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.
What to do
Upgrade fonttools to 4.60.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIfonttools | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in fontTools version 4.60.2. Users should upgrade to this version or later to remediate the vulnerability. No additional mitigations are specified by the vendor advisory.
Description
fontTools varLib contains an arbitrary file write vulnerability via unsanitized filename handling in .designspace files. This flaw allows attackers to write files to arbitrary filesystem locations using path traversal sequences and inject malicious XML content, potentially leading to remote code execution when files are placed in web-accessible locations. The vulnerability affects fontTools versions from 4.33.0 up to but not including 4.60.2. A fix is available in version 4.60.2.
References
- github.com/fonttools/fonttools/security/advisories/GHSA-768j-98cg-p3fv (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-66034 (opens in a new tab)
- github.com/fonttools/fonttools/commit/a696d5ba93270d5954f98e7cab5ddca8a02c1e32 (opens in a new tab)
- github.com/fonttools/fonttools (opens in a new tab)