Arbitrary Code Execution Affecting fonttools package, versions [,4.62.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-FONTTOOLS-15869939
  • published1 Apr 2026
  • disclosed1 Apr 2026
  • creditjsharp6968

Introduced: 1 Apr 2026

CVE NOT AVAILABLE CWE-94  (opens in a new tab)

How to fix?

Upgrade fonttools to version 4.62.0 or higher.

Overview

fonttools is a Tools to manipulate font files

Affected versions of this package are vulnerable to Arbitrary Code Execution due to the parseBlendList() function's usage of built-in Python's eval() function when parsing TTX font data. An attacker can execute arbitrary scripts by supplying a specially crafted numeric value strings to TTX XML attributes.

References

CVSS Base Scores

version 4.0
version 3.1