PT-2026-56491 · Npm · Js-Yaml

·

CVE-2026-59870

·

Published

2026-07-08

·

Updated

2026-07-20

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions js-yaml versions 5.0.0 through 5.2.0
Description Support for the !!omap tag in YAML11 SCHEMA within src/tag/sequence/omap.ts uses the omapTag.addItem() function to perform a linear duplicate-key scan during every insertion. This results in O(n^2) CPU consumption, where the processing time grows quadratically relative to the input size, when yaml.load() parses a specially crafted ordered-map document.
Recommendations Update js-yaml to version 5.2.1.

Exploit

Fix

Allocation of Resources Without Limits

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

Weakness Enumeration

Related Identifiers

CVE-2026-59870
GHSA-724G-MXRG-4QVM
RHSA-2026:26994
RHSA-2026:33866
RHSA-2026:34478
RHSA-2026:34975
RHSA-2026:35272
RHSA-2026:7378
RHSA-2026:7655
RHSA-2026:9455

Affected Products

Js-Yaml