# CVE-2023-45139: fonttools XML External Entity Injection (XXE) Vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.23%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-09T16:01:10.000Z
- Modified: 2026-09-10T03:50:04.834Z
- Also known as: GHSA-6673-4983-2vx5, PYSEC-2026-1388
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- fonttools fonttools: >= 4.28.2, < 4.43.0; from 4.28.2 before 4.43.0
- fonttools (PyPI): from 4.28.2 before 4.43.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/fonttools/fonttools/security/advisories/GHSA-6673-4983-2vx5> (exploit, vendor-advisory, web)
- <https://github.com/fonttools/fonttools/commit/9f61271dc1ca82ed91f529b130fe5dc5c9bf1f4c> (patch, web)
- <https://github.com/fonttools/fonttools/releases/tag/4.43.0> (release-notes, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VY63B4SGY4QOQGUXMECRGD6K3YT3GJ75/>
- <http://www.openwall.com/lists/oss-security/2024/03/09/1> (web)
- <http://www.openwall.com/lists/oss-security/2024/03/08/2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45139> (advisory)
- <https://github.com/fonttools/fonttools> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VY63B4SGY4QOQGUXMECRGD6K3YT3GJ75> (web)
- <https://pypi.org/project/fonttools> (package)
- <https://github.com/advisories/GHSA-6673-4983-2vx5> (advisory)

## Sources

- CVE List: [CVE-2023-45139](https://www.cve.org/CVERecord?id=CVE-2023-45139), CVE Terms of Use, modified 2025-06-03
- GitHub Advisory Database: [GHSA-6673-4983-2vx5](https://github.com/advisories/GHSA-6673-4983-2vx5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-45139](https://nvd.nist.gov/vuln/detail/CVE-2023-45139), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1388](https://osv.dev/vulnerability/PYSEC-2026-1388), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-45139 · Whole record: https://cve.day/CVE-2023-45139.json · Rebuilt by cve.day 2026-11-25T22:58:32.020Z
