PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-114141 BinaryMuse CVE debrief

The toml-node package, specifically the toml.parse() function, is vulnerable to a quadratic-complexity denial-of-service (DoS) attack via many array-of-tables headers. This issue is present in version 5.0.0 and earlier, and has been fixed in version 5.0.1. The vulnerability is caused by the addTableArray() function in lib/compiler.js, which rescans two entire bookkeeping Sets on every array-of-tables header without pruning unrelated or distinct entries. This can lead to increased parsing time for large TOML files, potentially impacting system performance. Defenders responsible for systems that parse TOML files from untrusted sources should assess exposure and prioritize patching or

Vendor
BinaryMuse
Product
toml
CVSS
HIGH 8.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-22
Original CVE updated
2026-10-22
Advisory published
2026-10-22
Advisory updated
2026-10-22

Who should care

Defenders responsible for systems that parse TOML files from untrusted sources should assess exposure and prioritize patching or mitigating this vulnerability. This includes operators, platform administrators, vulnerability managers, and security teams who handle TOML file parsing.

Why it matters

Defenders should care about this vulnerability because it can lead to denial-of-service (DoS) attacks and increased parsing time for large TOML files, potentially impacting system performance. The vulnerability is present in version 5.0.0 and earlier of the toml-node package, and has been fixed in version 5.0.1.

  • Potential for denial-of-service (DoS) attacks
  • Increased parsing time for large TOML files
  • Possible impact on system performance

Technical summary

The toml.parse() function in toml-node is vulnerable to a quadratic-complexity denial-of-service (DoS) attack via many array-of-tables headers. This is caused by the addTableArray() function in lib/compiler.js, which rescans two entire bookkeeping Sets on every array-of-tables header without pruning unrelated or distinct entries. A document containing n such headers costs O(n²) compiler work. For example, a ~321KB document of 20,000 distinct-named [[name]] blocks takes ~10.3 seconds to parse — a completely ordinary-looking TOML shape (a flat settings block plus one or more array-of-tables sections), not a contrived edge case.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability, especially in systems that parse TOML files from untrusted sources.

Recommended defensive actions

  • Patch to version 5.0.1 or later
  • Mitigate by limiting the number of array-of-tables headers in TOML files
  • Monitor for suspicious TOML parsing activity
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is caused by the addTableArray() function in lib/compiler.js, which rescans two entire bookkeeping Sets on every array-of-tables header without pruning unrelated or distinct entries. A document containing n such headers costs O(n²) compiler work. For example, a ~321KB document of 20,000 distinct-named [[name]] blocks takes ~10.3 seconds to parse. This issue is separate from the previously fixed stack-overflow DoS (GHSA-82x6-q7mm-w9cf) and requires no key nesting or dotted keys at all.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-114141 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-114141

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-114141 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-114141

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

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

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/npm/GHSA-4qx8-w7c3-pj3p.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-4qx8-w7c3-pj3p

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/BinaryMuse/toml-node

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/BinaryMuse/toml-node/releases/tag/v5.0.1

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.