CVE-2026-96780
HIGH 8.2CVSS 4.0figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width
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.
- Published
- 1 Oct 2026
- Last modified
- 2 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-835
- Also known as
- GHSA-62ch-8vmq-8xm7
- Sources
- NVDJSONOSV GHSA-62ch-8vmq-8xm7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | figlet | < 1.11.3 | 1.11.3 |
References
- https://github.com/patorjk/figlet.js/commit/cb2839d0e53aeafbd361e9587abc72e49e41cbb3 · WEB
- https://github.com/patorjk/figlet.js/pull/169 · WEB
- https://github.com/patorjk/figlet.js/security/advisories/GHSA-62ch-8vmq-8xm7 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-96780 · ADVISORY
- https://github.com/patorjk/figlet.js · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Oct 2026)