v3cn4x00/poc-cve-2025-66034 source repository
Vulnerability
CVE-2025-66034
fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib
Vulnerability details
- Score
- 6.3
- Severity
- medium
CVSS 3.1 · GitHub_M
Vector string
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:LDescription
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.
CVE ProgramExploit source choices
6 sourcesliquid-sec/variatype.htb-cve-2025-66034 source repository
Proof-of-concept exploit for CVE-2025-66034 in the fontTools variable font generation pipeline. A crafted .designspace file allows control of the output path, enabling arbitrary file writes. The script automates payload creation, font generation, and upload to demonstrate the issue.
jwsly12/cve-2025-66034-htb-ctf source repository
CVE-2025-66034 exploit and documentation
CVE-2025-66034 - fontTools varLib Arbitrary File Write → RCE PoC exploit for an Arbitrary File Write + XML Injection vulnerability in fontTools.varLib.