Skip to content
Heist/ feed
Back to feed
High

toml-node: Quadratic-complexity DoS via long dotted keys or table paths in toml.parse()

Type: advisorySources: Official CVE List

toml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, toml.parse() repeatedly slices and rejoins every path prefix in lib/compiler.js while processing long dotted keys, table headers, array-of-tables headers, and inline-table keys in assign(), deepRef(), and setNestedKey(). The resulting quadratic work can block the Node.js event loop for several seconds, and sufficiently long paths can terminate the process through memory exhaustion. The maxDepth option does not limit key-segment count and therefore does not mitigate this path. This issue is fixed in version 5.0.1.

Products
toml-node
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-114143
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 18:14 UTC · Revision 2

Source evidence

toml-node: Quadratic-complexity DoS via long dotted keys or table paths in toml.parse()

core-cve · Original source

Published 21 Oct 2026, 20:31 UTC

toml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, toml.parse() repeatedly slices and rejoins every path prefix in lib/compiler.js while processing long dotted keys, table headers, array-of-tables headers, and inline-table keys in assign(), deepRef(), and setNestedKey(). The resulting quadratic work can block the Node.js event loop for several seconds, and sufficiently long paths can terminate the process through memory exhaustion. The maxDepth option does not limit key-segment count and therefore does not mitigate this path. This issue is fixed in version 5.0.1.

cve:CVE-2026-114143

toml-node

Fixed versions: Not specified

Complete source record
{
  "id": "fb66c72886fe7e6d5fa782af9676bf200dddf2653613145c4df4ea7ba62b956d",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-114143",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "toml-node: Quadratic-complexity DoS via long dotted keys or table paths in toml.parse()",
    "summary": "toml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, toml.parse() repeatedly slices and rejoins every path prefix in lib/compiler.js while processing long dotted keys, table headers, array-of-tables headers, and inline-table keys in assign(), deepRef(), and setNestedKey(). The resulting quadratic work can block the Node.js event loop for several seconds, and sufficiently long paths can terminate the process through memory exhaustion. The maxDepth option does not limit key-segment count and therefore does not mitigate this path. This issue is fixed in version 5.0.1.",
    "evidence": "cve:CVE-2026-114143",
    "products": [
      {
        "name": {
          "value": "toml-node",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-114143",
      "aliases": [
        "CVE-2026-114143"
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "version": "4.0",
            "baseScore": 8.7,
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "privilegesRequired": "NONE",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "HIGH",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE"
          }
        }
      ],
      "affected": [
        {
          "vendor": "BinaryMuse",
          "product": "toml-node",
          "versions": [
            {
              "status": "affected",
              "version": "< 5.0.1"
            }
          ]
        }
      ],
      "modified": "2026-10-28T01:45:01.590Z",
      "provider": "cve",
      "references": [
        "https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-9j65-hcg3-gc64",
        "https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606",
        "https://github.com/BinaryMuse/toml-node/releases/tag/v5.0.1"
      ],
      "provider_metadata": {
        "adp": [
          {
            "title": "CISA ADP Vulnrichment",
            "metrics": [
              {
                "other": {
                  "type": "ssvc",
                  "content": {
                    "id": "CVE-2026-114143",
                    "role": "CISA Coordinator",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "version": "2.0.3",
                    "timestamp": "2026-10-28T01:38:59.568245Z"
                  }
                }
              }
            ],
            "references": [
              {
                "url": "https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-9j65-hcg3-gc64",
                "tags": [
                  "exploit"
                ]
              }
            ],
            "providerMetadata": {
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP",
              "dateUpdated": "2026-10-28T01:45:01.590Z"
            }
          }
        ],
        "cna": {
          "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
          "shortName": "GitHub_M",
          "dateUpdated": "2026-10-21T20:31:01.539Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-114143",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 406245,
  "published_at": "2026-10-21T20:31:01.539+00:00"
}