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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-407"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53550.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.15.0"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.2.0"
}
],
"cpe": "cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:node.js:*:*",
"source": "CPE_RANGE"
}