CVE-2026-77465

Source
https://cve.org/CVERecord?id=CVE-2026-77465
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77465.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-77465
Aliases
Downstream
Published
2026-09-03T20:37:22.758Z
Modified
2026-09-05T03:48:12.794291606Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
toml-node: Uncontrolled Recursion
Details

toml-node is a TOML parser for Node.js and the browser. Prior to 4.2.0, toml.parse() uses a Peggy 5.1.0 generated recursive-descent parser in lib/parser.js whose peg$parsevalue, peg$parsearray, and peg$parseinlinetableentry functions recurse through nested arrays and inline tables without a depth limit. A remote unauthenticated application parsing an attacker-controlled TOML document containing a few thousand nested arrays or inline tables can exhaust the Node.js call stack, raise an unexpected RangeError rather than the parser's SyntaxError, and terminate an unprotected request worker or process. The corresponding grammar source is src/toml.pegjs, where the generated parser must be bounded. This issue is fixed in version 4.2.0.

Database specific
{
    "cwe_ids": [
        "CWE-674"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77465.json"
}
References

Affected packages

Git / github.com/binarymuse/toml-node

Affected ranges

Type
GIT
Repo
https://github.com/binarymuse/toml-node
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.2.0"
        }
    ]
}

Affected versions

0.*
0.1.0
0.2.0
0.3.0
0.4.0
0.4.1
1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.3.0
v2.*
v2.3.1
v2.3.3
v2.3.4
v2.3.5
v2.3.6
v3.*
v3.0.0
v4.*
v4.0.0
v4.0.1
v4.1.0
v4.1.1
v4.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77465.json"