
Key points
- CVE-2026-114141 affects toml-node versions prior to 5.0.1.
- The vulnerability enables denial-of-service via quadratic processing of array headers.
- A fix is available in version 5.0.1 of the library.
The toml-node library, a popular parser for Node.js and browser environments, contains a flaw that allows attackers to freeze application event loops. This issue, tracked as CVE-2026-114141, impacts all versions of the software released before 5.0.1. Systems using these older versions are exposed to potential service disruption if they process untrusted TOML input containing specific structural patterns.
According to the National Vulnerability Database, the flaw resides in the addTableArray() function within lib/compiler.js. When parsing documents with many array-of-tables headers, the compiler rescans complete bookkeeping sets without pruning distinct paths. This behavior creates quadratic synchronous work that blocks the Node.js event loop, denying service to other operations running in the same process.
Technical Context
The vulnerability is rated HIGH with a CVSS score of 8.7. It is classified under CWE-407, which relates to incorrect comparison. The core issue is inefficient data handling during the parsing phase. Because the work is synchronous, it halts the entire single-threaded event loop rather than just slowing down a single request. This makes the impact particularly severe for high-throughput Node.js applications that rely on the event loop for concurrency.
Affected Environments
Any application using BinaryMuse toml-node versions older than 5.0.1 is affected. This includes both server-side Node.js deployments and client-side browser implementations that bundle this parser. Organizations that accept TOML configuration files or data from external users are at risk. If an application parses untrusted input without upgrading, it remains vulnerable to this denial-of-service vector.
Next steps
Administrators should verify their current toml-node version immediately. If the version is below 5.0.1, they should upgrade to 5.0.1 or later, as this release contains the fix. Teams should review their supply chain dependencies to ensure no transitive dependencies are pulling in vulnerable versions. Monitoring logs for sudden spikes in CPU usage or latency during parsing operations can help identify exploitation attempts before they cause widespread outages.
Signals worth monitoring
Teams usually observe a sudden spike in CPU utilization on Node.js processes when this type of flaw is triggered. Application logs may show request timeouts or increased latency for seemingly simple parsing tasks. Check whether health checks are failing due to unresponsive event loops. Look for patterns where specific incoming payloads consistently cause performance degradation. Containment often involves restarting affected services if the loop is blocked, and implementing input size limits or timeouts as temporary mitigation measures until patches are applied.
What to do and how to stay safe: toml-node
- Audit your dependency tree to identify any use of toml-node versions prior to 5.0.1.
- Upgrade to version 5.0.1 or later once the vendor provides an update.
- Implement strict input validation and size limits for any TOML data parsed from untrusted sources.
- Monitor application performance metrics for sudden latency spikes or CPU saturation during parsing tasks.
Step-by-step guide: Emergency Patching Checklist for Critical System Fixes
General security guidance from the SecOps Monitor newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
Which versions of toml-node are vulnerable to CVE-2026-114141?
All versions of toml-node prior to 5.0.1 are affected by this vulnerability.
What is the CVSS score for this flaw?
The National Vulnerability Database rates CVE-2026-114141 as HIGH with a score of 8.7.
Is there a fix available for this issue?
Yes, the issue is fixed in version 5.0.1 of the toml-node library.



