Skip to main content
← npm

toml

6 known vulnerabilities (6 high), with the versions each affects and the releases that fix them.

Latest release
5.0.1 (Oct 12, 2026): no advisory affects it
Newest unaffected release
5.0.1 (Oct 12, 2026), the latest release
Advisories
6 · 6 high
Weekly downloads
41.6M
Dependents
121
Releases
41 since 0.0.0 (Feb 24, 2013)
Registry
npm
Releases read
Nov 8, 2026

Version timeline

Every release cve.now has on record, lowest version on the left; each bar is a run of versions an advisory affects.

Advisories 6

  • toml-node: Uncontrolled resource consumption (CPU DoS) via unbounded-length integer literals in toml.parse()

    Affected: fixed in 5.0.1.

    Fixed in 5.0.1 (released Oct 12, 2026, 9 days before disclosure).

    The latest release, 5.0.1, is not affected.

    95% of toml downloads last week were affected versions (38.4M).

  • toml-node: Quadratic-complexity DoS via long dotted keys or table paths in toml.parse()

    Affected: fixed in 5.0.1.

    Fixed in 5.0.1 (released Oct 12, 2026, 9 days before disclosure).

    The latest release, 5.0.1, is not affected.

    95% of toml downloads last week were affected versions (38.4M).

  • toml-node: Prototype pollution: parsing a TOML document can write to Object.prototype

    Affected: fixed in 5.0.1.

    Fixed in 5.0.1 (released Oct 12, 2026, 9 days before disclosure).

    The latest release, 5.0.1, is not affected.

    95% of toml downloads last week were affected versions (38.4M).

  • toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse()

    Affected: fixed in 5.0.1.

    Fixed in 5.0.1 (released Oct 12, 2026, 9 days before disclosure).

    The latest release, 5.0.1, is not affected.

    95% of toml downloads last week were affected versions (38.4M).

  • toml-node: Uncontrolled Recursion

    Affected: fixed in 4.2.0.

    Fixed in 4.2.0 (released Jul 13, 2026, 52 days before disclosure).

    The latest release, 5.0.1, is not affected.

    17% of toml downloads last week were affected versions (6.8M).

  • toml-node: Prototype Pollution Leads to `Object.prototype` Corruption via `proto` Key-Path Desynchronization

    Affected: fixed in 4.1.2.

    Fixed in 4.1.2 (released Jun 30, 2026, 65 days before disclosure).

    The latest release, 5.0.1, is not affected.

    17% of toml downloads last week were affected versions (6.7M).