CVE-2026-59870

Aliases:GHSA-724g-mxrg-4qvmCGA-gc2h-vr93-w9f3CGA-j5v6-64xq-v6v4
Advisory lineage Upstream: 0 Downstream: 9
Analyzed
Published: 08 Jul 2026, 15:13
Last modified:08 Jul 2026, 15:50

Vulnerability Summary

Overall Risk (default)
medium
40/100
CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.64% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

08 Jul 2026, 15:13
Published
Vulnerability first disclosed
08 Jul 2026, 15:50
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.64% Percentile: 49%

Techniques & Countermeasures

  • CWE-407Inefficient Algorithmic Complexity

    An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

  • CWE-770Allocation of Resources Without Limits or Throttling

    The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Affected Systems

  • chainguardrenovate

    < 44.3.3-r0 | < 44.3.2-r0

  • wolfirenovate

    < 44.3.3-r0 | < 44.3.2-r0

  • nodecajs-yaml

    ≥ 5.0.0, < 5.2.1

  • Npmjs-yaml

    ≥ 5.0.0, < 5.2.1

References (6)