# CVE-2026-53550: js-yaml: Quadratic-complexity DoS in merge key handling via repeated aliases

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-15T17:15:07.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-h67p-54hq-rp68
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nodeca js-yaml: >= 4.0.0, < 4.2.0; < 3.15.0; before 3.15.0; from 4.0.0 before 4.2.0
- js-yaml (npm): from 4.0.0 before 4.2.0; before 3.15.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/nodeca/js-yaml/security/advisories/GHSA-h67p-54hq-rp68> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53550> (advisory)
- <https://github.com/nodeca/js-yaml> (package)

## Sources

- CVE List: [CVE-2026-53550](https://www.cve.org/CVERecord?id=CVE-2026-53550), CVE Terms of Use, modified 2026-06-29
- GitHub Advisory Database: [GHSA-h67p-54hq-rp68](https://github.com/advisories/GHSA-h67p-54hq-rp68), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-53550](https://nvd.nist.gov/vuln/detail/CVE-2026-53550), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-53550 · Whole record: https://cve.day/CVE-2026-53550.json · Rebuilt by cve.day 2026-11-25T22:59:25.370Z
