Skip to content
OpenAdvisories
High USN-7917-1 2 CVEs

fonttools vulnerabilities

Published Dec 9, 2025 · Updated Apr 27, 2026

Summary

It was discovered that the subsetting module of fontTools was vulnerable to
an XML External Entity (XEE) attack. An unauthenticated remote attacker
could possibly use this issue to include arbitrary files from the file
system or make web requests from the host system. This issue only affected
Ubuntu 22.04 LTS. (CVE-2023-45139)

It was discovered that fontTools was vulnerable to path traversal attacks.
If a user or automated system were tricked into extracting a specially
crafted .designspace file, an attacker could possibly use this issue to
write arbitrary files outside the target directory, resulting in remote
code execution. This issue only affected Ubuntu 24.04 LTS, Ubuntu 25.04
and Ubuntu 25.10. (CVE-2025-66034)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 25.10 fonttools 4.55.3-2ubuntu0.25.10.1
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS fonttools 4.29.1-2ubuntu0.1~esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS fonttools 4.46.0-1ubuntu0.1~esm1

Vulnerabilities 2

  • High 7.5

    fonttools XML External Entity Injection (XXE) Vulnerability

    fontTools is a library for manipulating fonts, written in Python. The subsetting module has a XML External Entity Injection (XXE) vulnerability which allows an attacker to resolve arbitrary entities when a candidate font (OT-SVG fonts), which contains a SVG t…

  • Medium 6.3
    CVE-2025-66034 Public exploit

    fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib

    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 malic…

References

  • report
    https://ubuntu.com/security/CVE-2023-45139
  • report
    https://ubuntu.com/security/CVE-2025-66034