CVE-2026-96780

High

Description

figlet.js is a FIG driver written in JavaScript that aims to implement the FIGfont specification. Prior to 1.11.3, text() and textSync() can enter an unbounded loop when whitespaceBreak is enabled and width is smaller than the rendered width of a single FIGlet character. Under these conditions, breakWord() cannot find a valid break point and returns without consuming a character, so generateFigTextLines() repeatedly processes the same input while consuming CPU and growing memory. The non-default option and attacker-controlled width must both reach an affected call. This issue is fixed in version 1.11.3.

SeverityHigh
CVSS8.2
Exploit probability—
ProductFiglet
PublishedOct 1, 2026
First seenOct 1, 2026
Weakness typeCWE-835CWE-835

How to fix

Update
  • figlet1.11.3 or later

Affected products

ProductAffected versionsFixed in
figletnpmv < 1.11.31.11.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.