Approved changes feed: RSS · Atom

cpe:2.3:a:sunnyadn:js-toml:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorSunnyadn (1b8d9d2e-8938-5d61-9797-a6694d2d0997)
ProductJs Toml (ef1ead3f-aa40-5fe5-bb3d-8a831e401485)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/sunnyadn/js-toml purl2cpe 2026-06-01 10:15:56.077201
pkg:npm/s-toml purl2cpe 2026-06-01 10:15:56.077204

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-63386 vulnerable 2026-10-13 12:28:38.332250 js-toml: Uncontrolled recursion in `load()` causes `RangeError` (stack exhaustion) on deeply nested input
MEDIUM (5.3)
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.
Published: 2026-09-22T19:00:19.734Z
Updated: 2026-09-26T00:06:50.619Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-49293 vulnerable 2026-07-29 00:57:45.350984 CPU exhaustion via O(n^2) BigInt construction on radix-prefixed integer literals
HIGH (7.5)
js-toml is a TOML parser for JavaScript, fully compliant with the TOML 1.0.0 Spec. Versions up to and including 1.1.1 parse hexadecimal / octal / binary integer literals via a hand-written `parseBigInt` loop that multiplies a `BigInt` accumulator by the radix once per input digit. Each iteration performs a `BigInt * BigInt` operation on an accumulator that grows linearly with the number of digits already consumed, so the whole loop is O(n²) in the literal length. The lexer regex places no upper bound on the literal length, so a single TOML document containing one ~500 kB hex literal pins one CPU core for ~40 seconds on a modern laptop (Apple M-series, Node v22). Memory amplification is bounded but CPU amplification is severe and grows quadratically: doubling the literal length quadruples the work. A caller that invokes `load()` on attacker-controlled TOML (configuration upload endpoints, CI/CD systems ingesting third-party `*.toml`, IDE plugins, build tools) is exposed to a single-request CPU exhaustion DoS. Version 1.1.2 fixes the issue.
Published: 2026-06-19T18:14:20.150Z
Updated: 2026-11-04T03:42:15.699Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-54803 vulnerable 2026-06-08 07:33:13.240705 js-toml is vulnerable to Prototype Pollution
js-toml is a TOML parser for JavaScript, fully compliant with the TOML 1.0.0 Spec. In versions below 1.0.2, a prototype pollution vulnerability in js-toml allows a remote attacker to add or modify properties of the global Object.prototype by parsing a maliciously crafted TOML input. This is fixed in version 1.0.2.
Published: 2025-08-05T00:06:15.916Z
Updated: 2025-08-05T14:31:35.284Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.