CVE-2025-66034

fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib

Published Nov 29, 2025 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-768j-98cg-p3fv fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib
Ubuntu USN Ubuntu USN USN-7917-1 fontTools vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:fonttools:fonttools:*:*:*:*:*:python:*:*
Type Values Removed Values Added
First Time appeared Fonttools
Fonttools fonttools
Vendors & Products Fonttools
Fonttools fonttools
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib
Weaknesses CWE-91
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 1, 2025, 2:11 PM
Reserved
Nov 21, 2025, 1:08 AM
Status
Analyzed
Published
Nov 29, 2025, 1:16 AM
Modified
Oct 18, 2026, 6:10 PM
Severity
Moderate
Public date
Nov 29, 2025, 1:07 AM