Exploit database

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:L

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.

CVE Program

Exploit source choices

6 sources
v3cn4x00/poc-cve-2025-66034
GH-608ed53e9f8719f7553178062f6367b6GitHubUnofficial GitHub sourcePreferred

v3cn4x00/poc-cve-2025-66034 source repository

2026-03-212 files · 4 stars
symphony2colour/varlib-cve-2025-66034
GH-6c0154e3f6a9692216ee165cd7859c09GitHubUnofficial GitHub source

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.

2026-03-152 files · 2 stars
jwsly12/cve-2025-66034-htb-ctf
GH-eb7baffc82f1ce09b3494859fe45e747GitHubUnofficial GitHub source

jwsly12/cve-2025-66034-htb-ctf source repository

2026-04-072 files · 1 stars
tristanqtn/cve-2025-66034
GH-86415eed6d242ee646d31d3a690e99cdGitHubUnofficial GitHub source

CVE-2025-66034 exploit and documentation

2026-03-202 files · 1 stars
4nuxd/cve-2025-66034
GH-1217dd9e3e558672705c802b3a97a837GitHubUnofficial GitHub source

CVE-2025-66034 - fontTools varLib Arbitrary File Write → RCE PoC exploit for an Arbitrary File Write + XML Injection vulnerability in fontTools.varLib.

2026-03-282 files · 0 stars