Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. js-yaml
  4. ›
  5. CVE-2026-84375

CVE-2026-84375: js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources

September 8, 2026

maxTotalMergeKeys does not count empty mappings. An attacker can repeatedly merge a large sequence of them and consume significant CPU without reaching the configured limit.

References

  • github.com/advisories/GHSA-2883-xcg3-v3hh
  • github.com/nodeca/js-yaml/commit/3485bc06ff8a0251505f44a00414d90df2466639
  • github.com/nodeca/js-yaml/commit/6a8e05f9a485188ed730ac81e81ae221352ef480
  • github.com/nodeca/js-yaml/commit/d90b6612a5a84385bdcb556c44578eac76dc0f6b
  • github.com/nodeca/js-yaml/pull/797
  • github.com/nodeca/js-yaml/releases/tag/3.15.2
  • github.com/nodeca/js-yaml/releases/tag/4.3.2
  • github.com/nodeca/js-yaml/security/advisories/GHSA-2883-xcg3-v3hh
  • nvd.nist.gov/vuln/detail/CVE-2026-84375

Code Behaviors & Features

Detect and mitigate CVE-2026-84375 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.0.0 before 3.15.2, all versions starting from 4.0.0 before 4.3.2

Fixed versions

  • 3.15.2
  • 4.3.2

Solution

Upgrade to versions 3.15.2, 4.3.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-407: Inefficient Algorithmic Complexity

Source file

npm/js-yaml/CVE-2026-84375.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:56 +0000.