# CVE-2026-63386: js-toml: Uncontrolled recursion in `load()` causes `RangeError` (stack exhaustion) on deeply nested input

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-22T19:00:19.734Z
- Modified: 2026-11-20T14:45:04.348Z
- Also known as: GHSA-3g82-77xr-68x5
- Weaknesses: CWE-400, CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

js-toml is a TOML parser for JavaScript. Prior to 1.1.3, load() does not bound nesting or dotted-key depth in the recursive parser at src/load/parser.ts or the interpreter at src/load/interpreter.ts, so deeply nested arrays, deeply nested inline tables, or long dotted keys can exhaust the V8 call stack and throw a raw RangeError instead of the documented SyntaxParseError. Applications that parse attacker-controlled TOML and handle only SyntaxParseError can rethrow the unexpected exception, which can terminate a worker or process and cause denial of service. The exception is synchronous and catchable by consumers that handle all exceptions, and the issue does not affect confidentiality or integrity. This issue is fixed in version 1.1.3.

(As written by CVE List.)

## Affected

- sunnyadn js-toml: < 1.1.3
- js-toml (npm): before 1.1.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/sunnyadn/js-toml/security/advisories/GHSA-3g82-77xr-68x5> (exploit, web)
- <https://github.com/sunnyadn/js-toml/commit/4e10acf1f99ff3cb443c58b8f0a57664e41e87c6> (web)
- <https://github.com/sunnyadn/js-toml/releases/tag/v1.1.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63386> (advisory)
- <https://github.com/sunnyadn/js-toml> (package)

## Sources

- CVE List: [CVE-2026-63386](https://www.cve.org/CVERecord?id=CVE-2026-63386), CVE Terms of Use, modified 2026-09-26
- GitHub Advisory Database: [GHSA-3g82-77xr-68x5](https://github.com/advisories/GHSA-3g82-77xr-68x5), CC-BY-4.0, modified 2026-11-20
- NVD: [CVE-2026-63386](https://nvd.nist.gov/vuln/detail/CVE-2026-63386), Public domain, modified 2026-09-26

---

Page: https://cve.day/CVE-2026-63386 · Whole record: https://cve.day/CVE-2026-63386.json · Rebuilt by cve.day 2026-11-25T22:59:40.507Z
