CVE-2025-66034 Details
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.
A vulnerability allowing arbitrary file writes has been identified in the fontTools library, specifically in versions 4.33.0 prior to 4.60.2. The issue arises within the varLib module when the fontTools.varLib script is executed with a malicious .designspace file. This vulnerability allows for remote code execution, as the varLib script processes the injected content from the .designspace file and writes it to an arbitrary location on the filesystem. The problem is rooted in unsanitized filename handling, which can be exploited to traverse directories and execute malicious code, such as PHP, when the crafted files are placed in a web-accessible directory and executed.
Users are advised to update fontTools to version 4.60.2 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/fonttools/fonttools/security/advisories/GHSA-768j-98cg-p3fv | CISA-ADP | ExploitVendor Advisory |
| https://github.com/fonttools/fonttools/commit/a696d5ba93270d5954f98e7cab5ddca8a02c1e32 | [email protected] | Patch |
| https://github.com/fonttools/fonttools/security/advisories/GHSA-768j-98cg-p3fv | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-91 | XML Injection (aka Blind XPath Injection) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fonttools fonttools | >= 4.33.0, < 4.60.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 3, 2025 | Initial Analysis | [email protected] |
| Dec 1, 2025 | CVE Modified | CISA-ADP |
| Nov 29, 2025 | New CVE Received | [email protected] |