What’s Vulnerable › Vulnerabilities
CVE-2023-45139: fonttools XML External Entity Injection (XXE) Vulnerability
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-01-10 · updated 2026-06-17
- Weakness: CWE-611
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
- fonttools: from 4.28.2 before 4.43.0 — fixed in 4.43.0
How to fix
Upgrade to a fixed version: fonttools 4.43.0. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2024/03/08/2
- http://www.openwall.com/lists/oss-security/2024/03/09/1
- https://github.com/fonttools/fonttools/commit/9f61271dc1ca82ed91f529b130fe5dc5c9bf1f4c
- https://github.com/fonttools/fonttools/releases/tag/4.43.0
- https://github.com/fonttools/fonttools/security/advisories/GHSA-6673-4983-2vx5
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VY63B4SGY4QOQGUXMECRGD6K3YT3GJ75/
- http://www.openwall.com/lists/oss-security/2024/03/08/2
- http://www.openwall.com/lists/oss-security/2024/03/09/1
- https://github.com/fonttools/fonttools/commit/9f61271dc1ca82ed91f529b130fe5dc5c9bf1f4c
- https://github.com/fonttools/fonttools/releases/tag/4.43.0
- https://github.com/fonttools/fonttools/security/advisories/GHSA-6673-4983-2vx5
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VY63B4SGY4QOQGUXMECRGD6K3YT3GJ75/
Get alerted when CVE-2023-45139 or the next vulnerability affects your stack