CVE-2026-96780
figlet.js is a FIG driver written in JavaScript that aims to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/patorjk/figlet.js/commit/cb2839d0e53aeafbd361e9587abc72e49e41cbb3
- github.com/patorjk/figlet.js/pull/169
- github.com/patorjk/figlet.js/security/advisories/GHSA-62ch-8vmq-8xm7
- nvd.nist.gov/vuln/detail/CVE-2026-96780
- github.com/advisories/GHSA-62ch-8vmq-8xm7
- nvd.nist.gov/vuln/detail/CVE-2026-96780
- cve.org/CVERecord?id=CVE-2026-96780
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.