Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-96780— figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width

Quick assessment

Affected
patorjk figlet.js
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

figlet.js 是一个用 JavaScript 编写的 FIG 驱动程序,旨在实现 FIGfont 规范。在 1.11.3 版本之前,当启用 选项且指定的 (宽度)小于单个 FIGlet 字符渲染后的实际宽度时, 和 函数可能会进入无界循环。在这种情况下, 函数无法找到有效的换行点,并在未消耗任何字符的情况下返回,导致 函数反复处理相同的输入内容,从而持续消耗 CPU 资源并使内存不断增长。触发此漏洞需要同时满足两个条件:使用非默认选项(即启用 ),且攻击者可控的 参数传入受影响的函数调用。该问题已在 1.11

CVSS 8.2 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-96780

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
不可达退出条件的循环(无限循环)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
patorjk figlet.js < 1.11.3 -

II. Public POCs for CVE-2026-96780

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-96780

请登录查看更多情报信息。

Other References for CVE-2026-96780 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2026-96780

No comments yet


Leave a comment