Skip to main content
← All vulnerabilities
CVE-2025-66034GHSA-768J-98CG-P3FVPYSEC-2026-1389

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.60.2
6 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • fonttools fonttools

    From 4.33.0 · fixed in 4.60.2

  • fonttoolsPyPI

    From 4.33.0 · fixed in 4.60.2

References 8

GitHub · fonttools/fonttools

GitHub · 4nuxd/CVE-2025-66034

GitHub · Liquid-Sec/Variatype.htb-CVE-2025-66034

GitHub · jwsly12/CVE-2025-66034-htb-ctf

GitHub · symphony2colour/varlib-cve-2025-66034

GitHub · tristanqtn/CVE-2025-66034

GitHub · v3cn4x00/POC-CVE-2025-66034