High severity · published Jan 10, 2024
CVE-2023-45139
fonttools XML External Entity Injection (XXE) Vulnerability
7.5
CVSS
1.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 69% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FO
fonttools · fonttools
>= 4.28.2, < 4.43.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-45139
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-45139
www.openwall.com
http://www.openwall.com/lists/oss-security/2024/03/08/2
www.openwall.com
http://www.openwall.com/lists/oss-security/2024/03/09/1
Patch
https://github.com/fonttools/fonttools/commit/9f61271dc1ca82ed91f529b130fe5dc5c9bf1f4c
Release Notes
https://github.com/fonttools/fonttools/releases/tag/4.43.0
Exploit
https://github.com/fonttools/fonttools/security/advisories/GHSA-6673-4983-2vx5
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VY63B4SGY4QOQGUXMECRGD6K3YT3GJ75/
More from fonttools
9.8
CVE-2025-66034
fontTools is Vulnerable to Arbitrary File Write and XML injection in fontTools.varLib
