figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width
Published Oct 1, 2026
8.2
HIGHCVSS 4.0
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 products
-
- Version < 1.11.3StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Oct 1, 2026 · SSVC 2.0.3
No EPSS score for this CVE.
References (3)
- https://github.com/patorjk/figlet.js/commit/cb2839d0e53aeafbd361e9587abc72e49e41cbb3 x_refsource_MISC
- https://github.com/patorjk/figlet.js/pull/169 x_refsource_MISC
- https://github.com/patorjk/figlet.js/security/advisories/GHSA-62ch-8vmq-8xm7 x_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://github.com/patorjk/figlet.js/commit/cb2839d0e53aeafbd361e9587abc72e49e41cbb3 | x_refsource_MISC | |
| https://github.com/patorjk/figlet.js/pull/169 | x_refsource_MISC | |
| https://github.com/patorjk/figlet.js/security/advisories/GHSA-62ch-8vmq-8xm7 | x_refsource_CONFIRM |
Change history (0)
No recorded changes yet.