{"answers":{"affected":"3 open source packages ship an affected version, including fonttools. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66034 exists.","fix":"Upgrade fonttools to 4.60.2 or later.","what":"CVE-2025-66034 is a medium-severity code injection vulnerability in fonttools, published on 29 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-66034 and fix it if it is affected.\n\nWhat it is: CVE-2025-66034 is a medium-severity code injection vulnerability in fonttools, published on 29 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66034 exists.\n\nAffected packages and fixed versions:\n- fonttools (PyPI): affected from 4.33.0; fixed in 4.60.2\n- fonttools (PyPI): affected from 4.33.0; fixed in 4.60.2\n- fonttools (PyPI): affected from 4.33.0; fixed in 4.60.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-66034/ (Markdown: https://insights.sbomify.com/CVE-2025-66034/index.md)","id":"CVE-2025-66034","markdown":"https://insights.sbomify.com/CVE-2025-66034/index.md","name":"CVE-2025-66034","record":{"aliases":["BELL-CVE-2025-66034","DEBIAN-CVE-2025-66034","GHSA-768j-98cg-p3fv","PYSEC-2026-1389","SUSE-SU-2026:0199-1","SUSE-SU-2026:20184-1","UBUNTU-CVE-2025-66034","openSUSE-SU-2026:10076-1","openSUSE-SU-2026:20119-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python font library","requires_auth":"none","summary":"Attackers can achieve remote code execution by tricking users into processing a malicious .designspace file with the fontTools varLib script.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fonttools","vendor":"fonttools"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"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.","ecosystems":["PyPI","SUSE:Linux Enterprise Module for Package Hub 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-03-15","github_poc":6,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-03-21T16:36:37Z","kind":"github_poc","ref":"https://github.com/v3cn4x00/POC-CVE-2025-66034","stars":4,"title":null},{"date":"2026-03-15T14:16:58Z","kind":"github_poc","ref":"https://github.com/symphony2colour/varlib-cve-2025-66034","stars":2,"title":"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."},{"date":"2026-03-16T22:57:22Z","kind":"github_poc","ref":"https://github.com/Liquid-Sec/Variatype.htb-CVE-2025-66034","stars":2,"title":null},{"date":"2026-03-20T14:30:10Z","kind":"github_poc","ref":"https://github.com/tristanqtn/CVE-2025-66034","stars":1,"title":"CVE-2025-66034 exploit and documentation"},{"date":"2026-04-07T13:43:38Z","kind":"github_poc","ref":"https://github.com/jwsly12/CVE-2025-66034-htb-ctf","stars":1,"title":null},{"date":"2026-03-28T08:04:55Z","kind":"github_poc","ref":"https://github.com/4nuxd/CVE-2025-66034","stars":0,"title":"CVE-2025-66034 - fontTools varLib Arbitrary File Write → RCE  PoC exploit for an Arbitrary File Write + XML Injection vulnerability in fontTools.varLib."}],"tier":"weaponised"},"has_fix":true,"headline":"fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib","id":"CVE-2025-66034","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":9,"n_references":2,"next":{"headline":"Angular HTTP Client Has XSRF Token Leakage via Protocol-Relative URLs","id":"CVE-2025-66035"},"packages":[{"ecosystem":"PyPI","fixed":["4.60.2"],"introduced":["4.33.0"],"last_affected":[],"package":"fonttools","purl":null,"source":"GHSA-768j-98cg-p3fv"},{"ecosystem":"PyPI","fixed":["4.60.2"],"introduced":["4.33.0"],"last_affected":[],"package":"fonttools","purl":"pkg:pypi/fonttools","source":"GHSA-768j-98cg-p3fv"},{"ecosystem":"PyPI","fixed":["4.60.2"],"introduced":["4.33.0"],"last_affected":[],"package":"fonttools","purl":"pkg:pypi/fonttools","source":"PYSEC-2026-1389"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","fixed":["4.47.2-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-FontTools","purl":"pkg:rpm/suse/python-FontTools\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP7","source":"SUSE-SU-2026:0199-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["4.53.1-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-FontTools","purl":"pkg:rpm/suse/python-FontTools\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20184-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["4.53.1-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-FontTools","purl":"pkg:rpm/suse/python-FontTools\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20184-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["4.47.2-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-FontTools","purl":"pkg:rpm/opensuse/python-FontTools\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:0199-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["4.53.1-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-FontTools","purl":"pkg:rpm/opensuse/python-FontTools\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20119-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.61.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-FontTools","purl":"pkg:rpm/opensuse/python-FontTools\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10076-1"}],"prev":{"headline":"Improper Memory Cleanup in the Okta Java SDK","id":"CVE-2025-66033"},"products":["fonttools"],"published":"2025-11-29","related":[{"cvss_score":7.5,"headline":"fonttools XML External Entity Injection (XXE) Vulnerability","id":"CVE-2023-45139","kev_date_added":null,"published":"2024-01-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-01","vendors":["fonttools"]},"summary":"Attackers can achieve remote code execution by tricking users into processing a malicious .designspace file with the fontTools varLib script.","url":"https://insights.sbomify.com/CVE-2025-66034/"}