Security mailing lists by PureSourceCode

CVE-2026-59869

HIGH 7.5CVSS 3.1

js-yaml: YAML merge-key chains can force quadratic CPU consumption

js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before 3.15.0 and from 4.0.0 before 4.3.0, js-yaml can spend quadratic CPU time parsing a document whose size grows only linearly when a chain of mappings uses merge keys where each mapping merges the previous one. This issue is fixed in versions 3.15.0 and 4.3.0.

Published
8 Jul 2026
Last modified
25 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-400CWE-407
Also known as
GHSA-52cp-r559-cp3m
Sources
NVDJSONOSV GHSA-52cp-r559-cp3mJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:node.js:*:*
>= 3.0.0, < 3.15.0 3.15.0
NVD nodeca js-yaml
cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:node.js:*:*
>= 4.0.0, < 4.3.0 4.3.0
OSV npm js-yaml >= 3.0.0, < 3.15.0 3.15.0
OSV npm js-yaml >= 4.0.0, < 4.3.0 4.3.0

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 20 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.