Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Low severity, with a CVSS score of 3.1, published 25 March 2026.
- Which products and versions are affected?
- smol-toml (npm) SEMVER:introduced=0,fixed=1.6.1.
- Is there a fix for This vulnerability?
- Yes. smol-toml (npm): upgrade to 1.6.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network.
- Am I affected?
- Check whether you run smol-toml (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- smol-toml (npm): upgrade to 1.6.1 or later
npm install smol-toml@1.6.1
Technical details
The vulnerability is a stack overflow caused by uncontrolled recursion (CWE-674) in smol-toml's comment parsing logic. The parser uses recursive function calls to skip over consecutive comment lines; an attacker can exploit this by crafting a TOML document with 8000+ consecutive commented lines to exhaust the call stack and crash the application. The attack requires only network access and no authentication or user interaction. The library has no built-in guards limiting recursion depth. Version 1.6.1 patches the issue by replacing the recursive comment-parsing approach with an iterative one.
Affected products
- SquirrelChat smol-toml <=1.6.0
Timeline
- 2026-03-25: disclosed
- 2026-03-25: patched: Version 1.6.1 released