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

CVE-2026-53550: JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases

June 15, 2026 (updated June 29, 2026)

A crafted YAML document can trigger algorithmic CPU exhaustion in js-yaml merge-key processing (<<) by repeating the same alias many times in a merge sequence. This causes quadratic parse-time behavior relative to input size and can block a Node.js worker/event loop for seconds with a relatively small payload (tens of KB), resulting in denial of service.

References

  • github.com/advisories/GHSA-h67p-54hq-rp68
  • github.com/nodeca/js-yaml/security/advisories/GHSA-h67p-54hq-rp68
  • nvd.nist.gov/vuln/detail/CVE-2026-53550

Code Behaviors & Features

Detect and mitigate CVE-2026-53550 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 before 3.15.0, all versions starting from 4.0.0 before 4.2.0

Fixed versions

  • 3.15.0
  • 4.2.0

Solution

Upgrade to versions 3.15.0, 4.2.0 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-407: Inefficient Algorithmic Complexity

Source file

npm/js-yaml/CVE-2026-53550.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:18 +0000.