Security mailing lists by PureSourceCode

CVE-2026-53550

MEDIUM 5.3CVSS 3.1

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

js-yaml is a JavaScript YAML parser and dumper. Prior to 4.2.0 and 3.15.0, 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. The issue is in merge handling inside lib/loader.js. This vulnerability is fixed in 4.2.0 and 3.15.0.

Published
22 Jun 2026
Last modified
25 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-407
Also known as
GHSA-h67p-54hq-rp68
Sources
NVDJSONOSV GHSA-h67p-54hq-rp68JSON

Scores

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

Affected

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

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jun 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Jun 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.