# CVE-2025-66034: fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-11-29T01:07:12.193Z
- Modified: 2026-10-18T18:10:00.100Z
- Also known as: GHSA-768j-98cg-p3fv, PYSEC-2026-1389
- Weaknesses: CWE-91
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- fonttools fonttools: >= 4.33.0, < 4.60.2; from 4.33.0 before 4.60.2
- fonttools (PyPI): from 4.33.0 before 4.60.2

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:L`

## References

- <https://github.com/fonttools/fonttools/security/advisories/GHSA-768j-98cg-p3fv> (exploit, vendor-advisory, web)
- <https://github.com/fonttools/fonttools/commit/a696d5ba93270d5954f98e7cab5ddca8a02c1e32> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66034> (advisory)
- <https://github.com/fonttools/fonttools> (package)
- <https://pypi.org/project/fonttools> (package)
- <https://github.com/advisories/GHSA-768j-98cg-p3fv> (advisory)

## Sources

- CVE List: [CVE-2025-66034](https://www.cve.org/CVERecord?id=CVE-2025-66034), CVE Terms of Use, modified 2025-12-01
- GitHub Advisory Database: [GHSA-768j-98cg-p3fv](https://github.com/advisories/GHSA-768j-98cg-p3fv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-66034](https://nvd.nist.gov/vuln/detail/CVE-2025-66034), Public domain, modified 2026-10-18
- PyPA Advisory Database: [PYSEC-2026-1389](https://osv.dev/vulnerability/PYSEC-2026-1389), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-66034 · Whole record: https://cve.day/CVE-2025-66034.json · Rebuilt by cve.day 2026-11-25T22:59:08.088Z
