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

VectorAV: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

CVE-2023-45139
GHSA-6673-4983-2VX5
MGASA-2024-0060
OESA-2024-1080
OPENSUSE-SU-2024:13686-1
ROSA-SA-2025-2644
USN-7917-1

Affected Products

Debian
Linuxmint
Ubuntu
Fonttools