Skip to main content
VulnerabilityPublished

CVE-2026-59868: Node js yaml · js-yaml is a JavaScript YAML parser and dumper

Affects node-js-yamlSource GCVE Database

0
Authoritative record:CVE-2026-59868· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 5.2.0 : update node-js-yaml when convenient.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.2.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-js-yamlpkg:deb/ubuntu/node-js-yaml?arch=source&distro=stonkingOther threatsAffected
  • =4.1.1+dfsg+~4.0.9-1
  • =4.2.0+~4.0.9-1
  • =4.2.0+~4.0.9-2
Fixed in–
Ubuntu 26.04 LTSnode-js-yamlpkg:deb/ubuntu/node-js-yaml?arch=source&distro=resoluteOther threatsAffected
  • =4.1.0+dfsg+~4.0.5-7
  • =4.1.1+dfsg+~4.0.9-1
Fixed in–
Ubuntu 25.10node-js-yamlpkg:deb/ubuntu/node-js-yaml?arch=source&distro=questingOther threatsAffected
  • =4.1.0+dfsg+~4.0.5-7
Fixed in–
Ubuntu 24.04 LTSnode-js-yamlpkg:deb/ubuntu/node-js-yaml?arch=source&distro=nobleOther threatsAffected
  • =4.1.0+dfsg+~4.0.5-7
Fixed in–
Ubuntu 22.04 LTSnode-js-yamlpkg:deb/ubuntu/node-js-yaml?arch=source&distro=jammyOther threatsAffected
  • 3.14.1+dfsg+~3.12.6-2 – 4.1.0+dfsg+~4.0.5-6
4 affected builds
Fixed in–
Ubuntu 20.04 LTSnode-js-yamlpkg:deb/ubuntu/node-js-yaml?arch=source&distro=focalOther threatsAffected
  • =3.13.1+dfsg-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade js-yaml to version 5.2.0 or later to remediate this vulnerability. For affected Ubuntu packages, update to versions beyond 3.13.1+dfsg-2 or the equivalent patched releases. No other mitigations are specified.

Description

CVE-2026-59868 is a vulnerability in js-yaml versions from 5.0.0 up to but not including 5.2.0 that allows excessive CPU consumption via chained merge keys in YAML documents. This leads to quadratic CPU time growth, potentially causing a denial of service. The issue is fixed in version 5.2.0. Specific affected Ubuntu package versions include 3.9.1+dfsg-1, 3.10.0+dfsg-1, and 3.13.1+dfsg-2.

References

Community reviews

Loading reviews…