Description
A denial-of-service (infinite loop) can occur in text() / textSync() when both:
whitespaceBreak: trueis set, andwidthis set smaller than the rendered width of a single FIGlet character.
Recommendation
Update the figlet package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.11.3
- Patched version(s): 1.11.3
References
Could your website be exposed too?
SmartScanner can check your website for figlet is vulnerable to denial of service via unbounded loop when whitespaceBreak is used with a small width and gives you actionable findings to investigate.
Start a free scanRelated Issues
- ExifReader is vulnerable to denial of service via unbounded decompression of image metadata - CVE-2026-8814
- Nuxt OG Image is vulnerable to Denial of Service via unbounded image dimensions - CVE-2026-34404
- path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards - CVE-2026-4923
- Cube Core is vulnerable to Denial of Service (DoS) via crafted request - CVE-2026-25957
You might also like:
See something that needs correcting? Let us knowUpdated October 02, 2026


