High severityNVD Advisory· Published Oct 1, 2026· Updated Oct 2, 2026
CVE-2026-96780
CVE-2026-96780
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
figletnpm | < 1.11.3 | 1.11.3 |
Affected products
1Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-62ch-8vmq-8xm7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-96780ghsaADVISORY
- github.com/patorjk/figlet.js/commit/cb2839d0e53aeafbd361e9587abc72e49e41cbb3nvdWEB
- github.com/patorjk/figlet.js/pull/169nvdWEB
- github.com/patorjk/figlet.js/security/advisories/GHSA-62ch-8vmq-8xm7nvdWEB
News mentions
0No linked articles in our index yet.