CVE-2026-96780figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width
Updated under an hour ago ()
Does this affect you?
It affects patorjk figlet.js. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.40%, higher than 33% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 8.2 HIGH (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness (CWE)
- CWE-835
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.40% (percentile 33)
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Oct 1, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
patorjk figlet.js patorjk:figlet.js (from the name) | before 1.11.3 | CNA record |
References
- https://github.com/patorjk/figlet.js/security/advisories/GHSA-62ch-8vmq-8xm7x-refsource-confirm
- https://github.com/patorjk/figlet.js/pull/169x-refsource-misc
- https://github.com/patorjk/figlet.js/commit/cb2839d0e53aeafbd361e9587abc72e49e41cbb3x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.