CVEfocus › CVE database › CVE-2026-59869

CVE-2026-59869js-yaml: YAML merge-key chains can force quadratic CPU consumption

CVSS 7.5 HighEPSS 0.7% (higher than 47% of CVEs)Published 2026-07-08Updated 2026-07-09Assigner: GitHub_M

js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before 3.15.0 and from 4.0.0 before 4.3.0, js-yaml can spend quadratic CPU time parsing a document whose size grows only linearly when a chain of mappings uses merge keys where each mapping merges the previous one. This issue is fixed in versions 3.15.0 and 4.3.0.

CWE-407

What to do

Fixed builds are available from Debian, Red Hat, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
5Fix pending
3Under investigation
19Will not fix
52Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-js-yamlFix pendingUBUNTU-CVE-2026-59869
Ubuntu 26.04node-js-yamlUnder investigationUBUNTU-CVE-2026-59869
Ubuntu 25.10node-js-yamlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-59869
Ubuntu 24.04node-js-yamlUnder investigationUBUNTU-CVE-2026-59869
Ubuntu 22.04node-js-yamlUnder investigationUBUNTU-CVE-2026-59869
Ubuntu 20.04node-js-yamlFix pendingUBUNTU-CVE-2026-59869
Ubuntu 18.04node-js-yamlFix pendingUBUNTU-CVE-2026-59869
Debian 14node-js-yamlFixed4.2.0+~4.0.9-2DEBIAN-CVE-2026-59869
Debian 13node-js-yamlFix pendingDEBIAN-CVE-2026-59869
Debian 12node-js-yamlFix pendingDEBIAN-CVE-2026-59869
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 10grafana-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 10rh-podman-desktopFixed0:1.1.2-1.el10_2RHSA-2026:57590
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10rust-analyzerNot affected
Red Hat Enterprise Linux 10rust-debugger-commonNot affected
Red Hat Enterprise Linux 10rust-docNot affected
Red Hat Enterprise Linux 10rust-gdbNot affected
Red Hat Enterprise Linux 10rust-lldbNot affected
Red Hat Enterprise Linux 10rust-srcNot affected
Red Hat Enterprise Linux 10rust-std-staticNot affected
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneNot affected
Red Hat Enterprise Linux 10rust-toolsetNot affected
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosNot affected
Red Hat Enterprise Linux 10rustfmtNot affected
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 9grafana-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 9pcsNot affected
Red Hat Enterprise Linux 9pcs-snmpNot affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 8grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-azure-monitorWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-cloudwatchWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-elasticsearchWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-graphiteWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-influxdbWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-lokiWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-mssqlWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-opentsdbWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-postgresWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-prometheusWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-stackdriverWill not fix
Will not fix
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
Red Hat Enterprise Linux 7python-syspurposeNot affected
Red Hat Enterprise Linux 7rhsm-gtkNot affected
Red Hat Enterprise Linux 7subscription-managerNot affected
Red Hat Enterprise Linux 7subscription-manager-cockpitNot affected
Red Hat Enterprise Linux 7subscription-manager-guiNot affected
Red Hat Enterprise Linux 7subscription-manager-initial-setup-addonNot affected
Red Hat Enterprise Linux 7subscription-manager-migrationNot affected
Red Hat Enterprise Linux 7subscription-manager-plugin-containerNot affected
Red Hat Enterprise Linux 7subscription-manager-plugin-ostreeNot affected
Red Hat Enterprise Linux 7subscription-manager-rhsmNot affected
Red Hat Enterprise Linux 7subscription-manager-rhsm-certificatesNot affected
npm libraryjs-yamlFixed4.3.0GHSA-52cp-r559-cp3m

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.