{"id":"CVE-2026-77465","title":"toml-node is a TOML parser for Node.js and the browser","summary":"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$parseinline_table_entry functions r…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-674","CWE-606"],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","affected":["enterprise_linux 10"],"patched":["toml 4.2.0"],"published":"2026-09-03","updated":"2026-09-09","sourceUpdated":"2026-09-09T21:09:13.080","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-77465","references":[{"url":"https://github.com/BinaryMuse/toml-node/commit/967b8b06754f3ecd9863cea118dc50792a8c353f","label":"security-advisories@github.com"},{"url":"https://github.com/BinaryMuse/toml-node/pull/72","label":"security-advisories@github.com"},{"url":"https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-82x6-q7mm-w9cf","label":"security-advisories@github.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-77465.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-77465"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2528258"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-77465"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77465"},{"url":"https://github.com/advisories/GHSA-82x6-q7mm-w9cf"}],"tags":["nvd","csaf","vex","red-hat","ghsa","npm","score-dispute"],"epss":0.00358,"epssPercentile":0.29653,"aliases":["GHSA-82x6-q7mm-w9cf"],"ecosystem":"npm","scores":{"nvd":7.5,"vendor":3.5,"ghsa":7.5},"ingestedAt":"2026-09-03T21:08:45.941Z","slug":"CVE-2026-77465","body":"## Overview\n\ntoml-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$parseinline_table_entry 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-77465)\n\nAffected packages:\n\n- `toml < 4.2.0`\n\nPatched in:\n\n- `toml 4.2.0`\n\nSource: https://github.com/advisories/GHSA-82x6-q7mm-w9cf\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10 · no fix planned: Red Hat Enterprise Linux 10 · updated 2026-09-08 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-77465.json)","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":24947,"id":"CVE-2026-77465","ts":1788989016292,"field":"cvss","old":"3.5","new":"7.5"},{"seq":24946,"id":"CVE-2026-77465","ts":1788989016292,"field":"severity","old":"low","new":"high"},{"seq":24396,"id":"CVE-2026-77465","ts":1788985267846,"field":"cvss","old":"7.5","new":"3.5"},{"seq":24395,"id":"CVE-2026-77465","ts":1788985267846,"field":"severity","old":"high","new":"low"},{"seq":23726,"id":"CVE-2026-77465","ts":1788985213625,"field":"cvss","old":"3.5","new":"7.5"},{"seq":23725,"id":"CVE-2026-77465","ts":1788985213625,"field":"severity","old":"low","new":"high"},{"seq":23024,"id":"CVE-2026-77465","ts":1788981584436,"field":"cvss","old":"7.5","new":"3.5"},{"seq":23023,"id":"CVE-2026-77465","ts":1788981584436,"field":"severity","old":"high","new":"low"},{"seq":22379,"id":"CVE-2026-77465","ts":1788981342826,"field":"cvss","old":"3.5","new":"7.5"},{"seq":22378,"id":"CVE-2026-77465","ts":1788981342826,"field":"severity","old":"low","new":"high"},{"seq":21723,"id":"CVE-2026-77465","ts":1788977870724,"field":"cvss","old":"7.5","new":"3.5"},{"seq":21722,"id":"CVE-2026-77465","ts":1788977870724,"field":"severity","old":"high","new":"low"},{"seq":21097,"id":"CVE-2026-77465","ts":1788977468244,"field":"cvss","old":"3.5","new":"7.5"},{"seq":21096,"id":"CVE-2026-77465","ts":1788977468244,"field":"severity","old":"low","new":"high"},{"seq":20463,"id":"CVE-2026-77465","ts":1788974155626,"field":"cvss","old":"7.5","new":"3.5"},{"seq":20462,"id":"CVE-2026-77465","ts":1788974155626,"field":"severity","old":"high","new":"low"},{"seq":19844,"id":"CVE-2026-77465","ts":1788973599631,"field":"cvss","old":"3.5","new":"7.5"},{"seq":19843,"id":"CVE-2026-77465","ts":1788973599631,"field":"severity","old":"low","new":"high"},{"seq":19097,"id":"CVE-2026-77465","ts":1788969858415,"field":"cvss","old":"7.5","new":"3.5"},{"seq":19096,"id":"CVE-2026-77465","ts":1788969858415,"field":"severity","old":"high","new":"low"},{"seq":18520,"id":"CVE-2026-77465","ts":1788969754646,"field":"cvss","old":"3.5","new":"7.5"},{"seq":18519,"id":"CVE-2026-77465","ts":1788969754646,"field":"severity","old":"low","new":"high"},{"seq":17917,"id":"CVE-2026-77465","ts":1788966240687,"field":"cvss","old":"7.5","new":"3.5"},{"seq":17916,"id":"CVE-2026-77465","ts":1788966240687,"field":"severity","old":"high","new":"low"},{"seq":17377,"id":"CVE-2026-77465","ts":1788965883806,"field":"cvss","old":"3.5","new":"7.5"},{"seq":17376,"id":"CVE-2026-77465","ts":1788965883806,"field":"severity","old":"low","new":"high"},{"seq":16831,"id":"CVE-2026-77465","ts":1788962624716,"field":"cvss","old":"7.5","new":"3.5"},{"seq":16830,"id":"CVE-2026-77465","ts":1788962624716,"field":"severity","old":"high","new":"low"},{"seq":16366,"id":"CVE-2026-77465","ts":1788962046037,"field":"cvss","old":"3.5","new":"7.5"},{"seq":16365,"id":"CVE-2026-77465","ts":1788962046037,"field":"severity","old":"low","new":"high"},{"seq":15842,"id":"CVE-2026-77465","ts":1788959000790,"field":"cvss","old":"7.5","new":"3.5"},{"seq":15841,"id":"CVE-2026-77465","ts":1788959000790,"field":"severity","old":"high","new":"low"},{"seq":15432,"id":"CVE-2026-77465","ts":1788958188587,"field":"cvss","old":"3.5","new":"7.5"},{"seq":15431,"id":"CVE-2026-77465","ts":1788958188587,"field":"severity","old":"low","new":"high"},{"seq":15022,"id":"CVE-2026-77465","ts":1788955369273,"field":"cvss","old":"7.5","new":"3.5"},{"seq":15021,"id":"CVE-2026-77465","ts":1788955369273,"field":"severity","old":"high","new":"low"},{"seq":14612,"id":"CVE-2026-77465","ts":1788954335602,"field":"cvss","old":"3.5","new":"7.5"},{"seq":14611,"id":"CVE-2026-77465","ts":1788954335602,"field":"severity","old":"low","new":"high"},{"seq":14202,"id":"CVE-2026-77465","ts":1788951744501,"field":"cvss","old":"7.5","new":"3.5"},{"seq":14201,"id":"CVE-2026-77465","ts":1788951744501,"field":"severity","old":"high","new":"low"},{"seq":13792,"id":"CVE-2026-77465","ts":1788950488145,"field":"cvss","old":"3.5","new":"7.5"},{"seq":13791,"id":"CVE-2026-77465","ts":1788950488145,"field":"severity","old":"low","new":"high"},{"seq":13382,"id":"CVE-2026-77465","ts":1788948112451,"field":"cvss","old":"7.5","new":"3.5"},{"seq":13381,"id":"CVE-2026-77465","ts":1788948112451,"field":"severity","old":"high","new":"low"},{"seq":12972,"id":"CVE-2026-77465","ts":1788946630624,"field":"cvss","old":"3.5","new":"7.5"},{"seq":12971,"id":"CVE-2026-77465","ts":1788946630624,"field":"severity","old":"low","new":"high"},{"seq":12562,"id":"CVE-2026-77465","ts":1788944478809,"field":"cvss","old":"7.5","new":"3.5"},{"seq":12561,"id":"CVE-2026-77465","ts":1788944478809,"field":"severity","old":"high","new":"low"},{"seq":12152,"id":"CVE-2026-77465","ts":1788942777227,"field":"cvss","old":"3.5","new":"7.5"},{"seq":12151,"id":"CVE-2026-77465","ts":1788942777227,"field":"severity","old":"low","new":"high"}]}