Skip to content
OpenAdvisories
High · 7.5 CVE-2023-45139 EUVD-2024-0267GHSA-6673-4983-2vx5PYSEC-2026-1388

fonttools XML External Entity Injection (XXE) Vulnerability

Published Jan 10, 2024 · Updated Jun 3, 2025 · Assigned by GitHub_M

Description

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 table, is parsed. This allows attackers to include arbitrary files from the filesystem fontTools is running on or make web requests from the host system. This vulnerability has been patched in version 4.43.0.

Affected products

VendorProductAffectedFixed
fonttools fonttools >= 4.28.2, < 4.43.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 fonttools 4.46.0-1 —
Debian 13 fonttools 4.46.0-1 —
Debian 12 fonttools 4.38.0-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 fonttools 4.55.3-2ubuntu0.25.10.1 USN-7917-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS fonttools 4.46.0-1ubuntu0.1~esm1 USN-7917-1
Ubuntu Pro 22.04 LTS fonttools 4.29.1-2ubuntu0.1~esm1 USN-7917-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-FontTools 4.62.1-1.3 openSUSE-SU-2026:11991-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI fonttools >= 4.28.2, < 4.43.0 4.43.0 GHSA-6673-4983-2vx5

Advisories 3

References