Intel

AIKIDO-2026-630940

fonttools is vulnerable to Denial of Service (DoS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 9, 2026
October 9, 2026

50

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

fontTools.ttLib.tables._c_m_a_p decompiles cmap subtable character ranges without bounding how far a group can expand. A crafted font with an oversized or malformed cmap group range forces fontTools to allocate memory far beyond the actual character count, exhausting available memory and crashing or hanging the process. The fix bounds cmap group expansion before the allocation happens.

How do I fix this?

Upgrade the fonttools library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

2.3 - 4.65.0

Fixed in 4.66.0

Background info

fonttools is vulnerable to Denial of Service (DoS) in versions 2.3 - 4.65.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea