CVE-2026-59870Patch(nodeca / js-yaml)

LOWCVSS 7.5 · HIGH

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch nodeca js-yaml systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD description

js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before 5.2.1, YAML11_SCHEMA support for the !!omap tag in src/tag/sequence/omap.ts uses omapTag.addItem() to perform a linear duplicate-key scan on every insertion, causing O(n^2) CPU consumption when yaml.load() parses a crafted ordered-map document. This issue is fixed in version 5.2.1.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-407CWE-770

Priority

LOW

Exploitation

NONE

PoC

YES

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • js-yaml

Threat summary

  • Patch or workaround signal is available
  • 1 mentions across 1 observed day

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 1 signal
  • 1 total mentions across 1 day

Affected systems

Vendors
Products
js-yaml

Deep dive

Activity timeline1 mentions / 1d
00111Mentions · 2026-08-07: 1Patch / Workaround · 2026-08-07: 1Technical Details · 2026-08-07: 108-07
Signal classification1 categories
Patch
1100.0%
Full discourse1 post
  • Upwind Security MDR@UpwindMDR
    Patch

    🚨High - js-yaml YAML11_SCHEMA !!omap Quadratic-Time DoS (CVE-2026-59870) js-yaml 5.x yaml.load() parsing YAML11_SCHEMA documents with the !!omap tag hits O(n^2) CPU: omapTag.addItem() does a linear duplicate-key scan per insertion. A crafted ordered-map payload can peg CPU and trigger denial of service. Non-omap schemas aren’t impacted. 👉Affected: js-yaml 5.0.0-5.2.0 | Upgrade to 5.2.1

    Post summary

    A quadratic‑time DoS vulnerability (CVE‑2026‑59870) is disclosed for js‑yaml 5.0.0‑5.2.0 affecting the !!omap tag, and upgrading to 5.2.1 is recommended to mitigate the issue.

    0000082
    282 followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appnodecajs-yaml-node.js-

Explore more