Vulnerability · Published Nov 29, 2025 · Assigned by GitHub_M

CVE-2025-66034fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib

Medium 6.3

In plain English

A medium-severity security flaw in fonttools from fonttools. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.6%top 51.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12fonttools4.38.0-1+deb12u1DEBIAN-CVE-2025-66034
Debian:13fonttools4.57.0-1+deb13u1DEBIAN-CVE-2025-66034
Debian:14fonttools4.61.1-1DEBIAN-CVE-2025-66034
PyPIfonttools4.60.2GHSA-768j-98cg-p3fv
PyPIfonttools4.60.2PYSEC-2026-1389
Ubuntu:25.10fonttools4.55.3-2ubuntu0.25.10.1USN-7917-1
Ubuntu:25.10fonttools4.55.3-2ubuntu0.25.10.1UBUNTU-CVE-2025-66034
Ubuntu:26.04:LTSfonttools4.57.0-3ubuntu1UBUNTU-CVE-2025-66034

Affected products (as reported)

VendorProductVersions
fonttools fonttools >= 4.33.0, < 4.60.2

Weakness: CWE-91 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L

References