CVE-2026-96780

figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width

Published Oct 1, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-62ch-8vmq-8xm7 figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width
History
Type Values Removed Values Added
First Time appeared Patorjk
Patorjk figlet.js
Vendors & Products Patorjk
Patorjk figlet.js
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width
Weaknesses CWE-835
References
Metrics cvssV4_0

{'score': 8.2, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 1, 2026, 8:40 PM
Reserved
Sep 23, 2026, 4:25 PM
Status
Deferred
Published
Oct 1, 2026, 9:17 PM
Modified
Oct 2, 2026, 6:47 PM