Skip to content
Heist/ feed
High

toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse()

Type: advisorySource: Official CVE List1 source record

toml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, the toml.parse() compiler's addTableArray() function in lib/compiler.js rescans the complete assignedPaths and valueAssignments bookkeeping sets for every array-of-tables header. Distinct [[name]] paths are not pruned, so a document with many such headers causes quadratic synchronous work and can block the Node.js event loop, denying service to other operations in the process. This issue is fixed in version 5.0.1.

Announced Group revision 1
Original source ↗

CVE-2026-114141

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-114141

toml-node

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "BinaryMuse",
    "product": "toml-node",
    "versions": [
      {
        "status": "affected",
        "version": "< 5.0.1"
      }
    ]
  }
]
Related CVEs
CVE-2026-114141

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#53264 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement