Skip to content
OpenAdvisories
Medium · 6.3 Public exploit CVE-2025-66034 EUVD-2025-199882GHSA-768j-98cg-p3fvPYSEC-2026-1389

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

Published Nov 29, 2025 · Updated Dec 1, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
fonttools fonttools >= 4.33.0, < 4.60.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 fonttools 4.61.1-1 —
Debian 13 fonttools 4.57.0-1+deb13u1 —
Debian 12 fonttools 4.38.0-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS fonttools 4.57.0-3ubuntu1 —
Ubuntu 25.10 fonttools 4.55.3-2ubuntu0.25.10.1 USN-7917-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS fonttools 4.46.0-1ubuntu0.1~esm1 USN-7917-1
Ubuntu Pro 22.04 LTS fonttools 4.29.1-2ubuntu0.1~esm1 USN-7917-1
ReleasePackageFixed inAdvisory
SLES 15 SP7 python-FontTools 4.47.2-150600.3.3.1 SUSE-SU-2026:0199-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-FontTools 4.53.1-160000.3.1 SUSE-SU-2026:20184-1
SLES 16.0 python-FontTools 4.53.1-160000.3.1 SUSE-SU-2026:20184-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-FontTools 4.61.1-1.1 openSUSE-SU-2026:10076-1
openSUSE Leap 16.0 python-FontTools 4.53.1-160000.3.1 openSUSE-SU-2026:20119-1
openSUSE Leap 15.6 python-FontTools 4.47.2-150600.3.3.1 SUSE-SU-2026:0199-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling open-webui 0.8.12-r4 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 6 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI fonttools >= 4.33.0, < 4.60.2 4.60.2 GHSA-768j-98cg-p3fv

Advisories 6

References