CVE-2023-45139
fonttools XML External Entity Injection (XXE) Vulnerability
Reported by github_m · Published January 10, 2024
fonttools is fixed in 4.43.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| fonttools | PyPI | 4.43.0 |
| fonttools | fonttools | 4.43.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| fonttools | fonttools | >= 4.28.2, < 4.43.0 |
| PyPI | fonttools | 4.28.2 |
| fonttools | fonttools | 4.28.2 |
Timeline
- Jan 9, 2024 CVE Published
- Jan 17, 2024 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 CVE Updated
- Feb 3, 2026 Security Advisory (2 in total, the first dated here)
- Aug 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-45139
vulnetix vdb fixes CVE-2023-45139
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-45139/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/fonttools/fonttools/security/advisories/GHSA-6673-4983-2vx5 x_refsource_CONFIRM
- https://github.com/fonttools/fonttools/commit/9f61271dc1ca82ed91f529b130fe5dc5c9bf1f4c x_refsource_MISC
- https://github.com/fonttools/fonttools/releases/tag/4.43.0 x_refsource_MISC
- https://github.com/advisories/GHSA-6673-4983-2vx5 advisory