{"id":"CVE-2026-34211","published":"2026-04-06T15:10:42Z","modified":"2026-04-07T14:09:53Z","title":"SandboxJS: Stack overflow DoS via deeply nested expressions in recursive descent parser","vendor":"nyariv","product":"SandboxJS","tier":"tail","description":{"text":"SandboxJS is a JavaScript sandboxing library. Prior to 0.8.36, the @nyariv/sandboxjs parser contains unbounded recursion in the restOfExp function and the lispify/lispifyExpr call chain. An attacker can crash any Node.js process that parses untrusted input by supplying deeply nested expressions (e.g., ~2000 nested parentheses), causing a RangeError: Maximum call stack size exceeded that terminates the process. This vulnerability is fixed in 0.8.36.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0042,"percentile":0.37042,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-8pfc-jjgw-6g26","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":7.41},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"nyariv","affectedVersions":[{"vendor":"nyariv","product":"SandboxJS","versions":["< 0.8.36"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-07T14:08:58.449756Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nyariv/sandboxjs","vulnerableRanges":["<0.8.36"],"patched":["0.8.36"],"from":["GHSA-8pfc-jjgw-6g26"],"provenance":"source"}],"summary":{"text":"The flaw is unbounded recursion in the parser of SandboxJS, a JavaScript sandboxing library, specifically in the restOfExp function and the lispify/lispifyExpr call chain of the @nyariv/sandboxjs parser. An attacker with network access and no authentication or user interaction can supply deeply nested expressions (for example, around 2000 nested parentheses) to any Node.js process that parses that untrusted input, crashing the process with a stack overflow error.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:33Z"},"euvd":{"id":"EUVD-2026-19299","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-26954","published":"2026-03-13","fixed":"0.8.34","kev":false},{"cve":"CVE-2026-32723","published":"2026-03-18","fixed":"0.8.35","kev":false,"link":{"from":"CVE-2026-32723","to":"CVE-2026-34211","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nyariv/sandboxjs","fromFixed":"0.8.35","toFixed":"0.8.36","daysApart":19}]}},{"cve":"CVE-2026-34208","published":"2026-04-06","fixed":"0.8.36","kev":false},{"cve":"CVE-2026-34211","published":"2026-04-06","fixed":"0.8.36","kev":false},{"cve":"CVE-2026-34217","published":"2026-04-06","fixed":"0.8.36","kev":false},{"cve":"CVE-2026-43898","published":"2026-05-28","fixed":"0.9.6","kev":false}],"package":"npm:@nyariv/sandboxjs"}}