PT-2026-56491 · Nodeca · Js-Yaml

Published

2026-07-08

·

Updated

2026-07-08

·

CVE-2026-59870

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-59870

Affected Products

Js-Yaml