Intel

AIKIDO-2026-853949

fonttools is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Yesterday

55

Medium Risk

This Affects:

PYTHONfonttools
2.5 - 4.63.0
Fixed in 4.64.0
Are you affected? Scan for Free

TL;DR

When exporting embedded bitmap data to external files, the EBDT/CBDT code uses the glyph name directly as the output filename. A font with crafted glyph names containing path separators can make the exported bitmap escape the output directory, allowing arbitrary file writes outside the intended folder. Untrusted fonts can also collide filenames so that one glyph overwrites another. The fix percent-encodes unsafe glyph names into an injective, path-separator-free filename.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you export embedded bitmaps to external files (for example ttx -z extfile) from untrusted fonts.

Background info

fonttools is vulnerable to Path Traversal in versions 2.5 - 4.63.0.

How to fix this

Upgrade the fonttools library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform