PT-2024-13215 · Fonttools+3 · Fonttools+3
Acornall
·
Published
2024-01-09
·
Updated
2025-12-09
·
CVE-2023-45139
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
fontTools versions 4.28.2 through 4.42.1
Description
The subsetting module in fontTools has a XML External Entity Injection (XXE) vulnerability, allowing an attacker to resolve arbitrary entities when a candidate font (OT-SVG fonts) containing a SVG table is parsed. This enables attackers to include arbitrary files from the filesystem fontTools is running on or make web requests from the host system.
Recommendations
For fontTools versions 4.28.2 through 4.42.1, update to version 4.43.0 to patch the vulnerability.
As a temporary workaround, consider setting the
resolve entities=False flag on parsing methods to mitigate the issue.
Restrict access to untrusted OT-SVG fonts to minimize the risk of exploitation.
Consider disallowing doctype declarations and implementing recursive regex matching as additional mitigation measures.Exploit
Fix
XXE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linuxmint
Ubuntu
Fonttools