Vulnerability · Published Jan 10, 2024 · Assigned by GitHub_M

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

High 7.5

In plain English

A high-severity XML external entity in fonttools from fonttools. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.2%top 31.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12fonttools4.38.0-1+deb12u1DEBIAN-CVE-2023-45139
Debian:13fonttools4.46.0-1DEBIAN-CVE-2023-45139
Debian:14fonttools4.46.0-1DEBIAN-CVE-2023-45139
PyPIfonttools4.43.0GHSA-6673-4983-2vx5
PyPIfonttools4.43.0PYSEC-2026-1388
Ubuntu:25.10fonttools4.55.3-2ubuntu0.25.10.1USN-7917-1

Affected products (as reported)

VendorProductVersions
fonttools fonttools >= 4.28.2, < 4.43.0

Weakness: CWE-611 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References