CVE-2023-45139: fonttools · XML External Entity (XXE)
Affects fonttoolsSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 4.43.0 soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 1.2% chance of exploitation in 30 days – higher than 68% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.43.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade fonttools to 4.43.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIfonttoolspkg:pypi/fonttoolsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should take the following specific mitigation steps: 1) Immediately upgrade all instances of fontTools to version 4.43.0 or later to ensure the vulnerability is patched. 2) Audit all internal and third-party applications and services that use fontTools to identify vulnerable versions and update them accordingly. 3) Implement strict input validation and sanitization for any font files processed, especially those originating from untrusted or external sources. 4) Employ sandboxing or containerization for font processing tasks to limit the potential impact of exploitation, restricting file system and network access. 5) Monitor logs for unusual file access patterns or unexpected outbound network requests from systems running fontTools. 6) Review and tighten network egress controls to prevent unauthorized external web requests initiated by exploited hosts. 7) Educate development and security teams about the risks of XXE vulnerabilities and encourage secure coding practices when handling XML parsing. These measures go beyond generic advice by focusing on patching, environment hardening, and proactive monitoring tailored to the nature of this vulnerability.
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.
References
- github.com/fonttools/fonttools/security/advisories/GHSA-6673-4983-2vx5 (opens in a new tab)
- github.com/fonttools/fonttools/commit/9f61271dc1ca82ed91f529b130fe5dc5c9bf1f4c (opens in a new tab)
- github.com/fonttools/fonttools/releases/tag/4.43.0 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VY63B4SGY4QOQGUXMECRGD6K3YT3GJ75/ (opens in a new tab)
- openwall.com/lists/oss-security/2024/03/09/1 (opens in a new tab)
- openwall.com/lists/oss-security/2024/03/08/2 (opens in a new tab)