High severity · published Oct 1, 2026
CVE-2026-96780
figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width
8.2
CVSS
0.5%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FI
figlet.js · patorjk
< 1.11.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-96780
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-96780
x_refsource_CONFIRM
https://github.com/patorjk/figlet.js/security/advisories/GHSA-62ch-8vmq-8xm7
x_refsource_MISC
https://github.com/patorjk/figlet.js/pull/169
x_refsource_MISC
https://github.com/patorjk/figlet.js/commit/cb2839d0e53aeafbd361e9587abc72e49e41cbb3
