CVEfocus › CVE database › CVE-2026-84375

CVE-2026-84375js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources

CVSS 7.5 HighEPSS 0.7% (higher than 50% of CVEs)Published 2026-09-01Updated 2026-09-28Assigner: GitHub_M

js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 until 3.15.2, 4.3.2, and 5.4.1, maxTotalMergeKeys in lib/js-yaml/loader.js and lib/loader.js does not count empty mapping sources while processing the merge key <<. An attacker can alias a large sequence of empty mappings into many merge targets, causing O(N * K) processing while totalMergeKeys remains unchanged and the configured resource limit is never reached. A relatively small YAML document can therefore cause prolonged CPU consumption in applications that parse untrusted YAML, and merge processing is enabled by default on these release lines. In v3 & v4, merge is enabled by default so the severity score is higher. This issue is fixed in versions 3.15.2, 4.3.2, and 5.4.1.

CWE-400CWE-407

What to do

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

Debian, Red Hat, 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

2Fixed
42Fix pending
3Under investigation
25Will not fix
144Not 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-84375
Ubuntu 26.04node-js-yamlUnder investigationUBUNTU-CVE-2026-84375
Ubuntu 24.04node-js-yamlUnder investigationUBUNTU-CVE-2026-84375
Ubuntu 22.04node-js-yamlUnder investigationUBUNTU-CVE-2026-84375
Ubuntu 20.04node-js-yamlFix pendingUBUNTU-CVE-2026-84375
Ubuntu 18.04node-js-yamlFix pendingUBUNTU-CVE-2026-84375
Debian 14node-js-yamlFixed4.3.2+~4.0.9-1DEBIAN-CVE-2026-84375
Debian 13node-js-yamlFix pendingDEBIAN-CVE-2026-84375
Debian 12node-js-yamlFix pendingDEBIAN-CVE-2026-84375
Red Hat Enterprise Linux 10aspnetcore-runtime-8.0Not affected
Red Hat Enterprise Linux 10aspnetcore-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 10aspnetcore-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10cockpit-ha-clusterNot affected
Red Hat Enterprise Linux 10dotnet-apphost-pack-8.0Not affected
Red Hat Enterprise Linux 10dotnet-hostfxr-8.0Not affected
Red Hat Enterprise Linux 10dotnet-runtime-8.0Not affected
Red Hat Enterprise Linux 10dotnet-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 10dotnet-sdk-8.0Not affected
Red Hat Enterprise Linux 10dotnet-sdk-8.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 10dotnet-sdk-dbg-8.0Not affected
Red Hat Enterprise Linux 10dotnet-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 10dotnet-templates-8.0Not affected
Red Hat Enterprise Linux 10dotnet8.0Not affected
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10gnome-shell-extension-dash-to-panelNot affected
Red Hat Enterprise Linux 10grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 10grafana-pcpNot affected
Red Hat Enterprise Linux 10grafana-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 10librados-develFix pending
Affected
Red Hat Enterprise Linux 10librados2Fix pending
Affected
Red Hat Enterprise Linux 10libradospp-develFix pending
Affected
Red Hat Enterprise Linux 10librbd-develFix pending
Affected
Red Hat Enterprise Linux 10librbd1Fix pending
Affected
Red Hat Enterprise Linux 10nodejsFix pending
Affected
Red Hat Enterprise Linux 10nodejs-develFix pending
Affected
Red Hat Enterprise Linux 10nodejs-docsFix pending
Affected
Red Hat Enterprise Linux 10nodejs-full-i18nFix pending
Affected
Red Hat Enterprise Linux 10nodejs-libsFix pending
Affected
Red Hat Enterprise Linux 10nodejs-npmFix pending
Affected
Red Hat Enterprise Linux 10nodejs22Fix pending
Affected
Red Hat Enterprise Linux 10nodejs24Fix pending
Affected
Red Hat Enterprise Linux 10nodejs24-develFix pending
Affected
Red Hat Enterprise Linux 10nodejs24-docsFix pending
Affected
Red Hat Enterprise Linux 10nodejs24-full-i18nFix pending
Affected
Red Hat Enterprise Linux 10nodejs24-libsFix pending
Affected
Red Hat Enterprise Linux 10nodejs24-npmFix pending
Affected
Red Hat Enterprise Linux 10nodejs26Will not fix
Will not fix
Red Hat Enterprise Linux 10nodejs26-develWill not fix
Will not fix
Red Hat Enterprise Linux 10nodejs26-docsWill not fix
Will not fix
Red Hat Enterprise Linux 10nodejs26-full-i18nWill not fix
Will not fix
Red Hat Enterprise Linux 10nodejs26-libsWill not fix
Will not fix
Red Hat Enterprise Linux 10nodejs26-npmWill not fix
Will not fix
Red Hat Enterprise Linux 10pcsNot affected
Red Hat Enterprise Linux 10pcs-snmpNot affected
Red Hat Enterprise Linux 10rh-podman-desktopFix pending
Affected
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 10thunderbirdNot affected
Red Hat Enterprise Linux 9389-ds-baseWill not fix
Will not fix
Red Hat Enterprise Linux 9389-ds-base-develWill not fix
Will not fix
Red Hat Enterprise Linux 9389-ds-base-libsWill not fix
Will not fix
Red Hat Enterprise Linux 9389-ds-base-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 9aspnetcore-runtime-6.0Not affected
Red Hat Enterprise Linux 9aspnetcore-runtime-7.0Not affected
Red Hat Enterprise Linux 9aspnetcore-runtime-8.0Not affected
Red Hat Enterprise Linux 9aspnetcore-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-6.0Not affected
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-7.0Not affected
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9dotnet-apphost-pack-6.0Not affected
Red Hat Enterprise Linux 9dotnet-apphost-pack-7.0Not affected
Red Hat Enterprise Linux 9dotnet-apphost-pack-8.0Not affected
Red Hat Enterprise Linux 9dotnet-hostNot affected
Red Hat Enterprise Linux 9dotnet-hostfxr-6.0Not affected
Red Hat Enterprise Linux 9dotnet-hostfxr-7.0Not affected
Red Hat Enterprise Linux 9dotnet-hostfxr-8.0Not affected
Red Hat Enterprise Linux 9dotnet-runtime-6.0Not affected
Red Hat Enterprise Linux 9dotnet-runtime-7.0Not affected
Red Hat Enterprise Linux 9dotnet-runtime-8.0Not affected
Red Hat Enterprise Linux 9dotnet-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 9dotnet-sdk-6.0Not affected
Red Hat Enterprise Linux 9dotnet-sdk-6.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 9dotnet-sdk-7.0Not affected
Red Hat Enterprise Linux 9dotnet-sdk-7.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 9dotnet-sdk-8.0Not affected
Red Hat Enterprise Linux 9dotnet-sdk-8.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 9dotnet-sdk-dbg-8.0Not affected
Red Hat Enterprise Linux 9dotnet-targeting-pack-6.0Not affected
Red Hat Enterprise Linux 9dotnet-targeting-pack-7.0Not affected
Red Hat Enterprise Linux 9dotnet-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 9dotnet-templates-6.0Not affected
Red Hat Enterprise Linux 9dotnet-templates-7.0Not affected
Red Hat Enterprise Linux 9dotnet-templates-8.0Not affected
Red Hat Enterprise Linux 9dotnet6.0Not affected
Red Hat Enterprise Linux 9dotnet7.0Not affected
Red Hat Enterprise Linux 9dotnet8.0Not affected
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9firefox-x11Not affected
Red Hat Enterprise Linux 9gjsFix pending
Affected
Red Hat Enterprise Linux 9gjs-develFix pending
Affected
Red Hat Enterprise Linux 9grafanaFix pending
Affected
Red Hat Enterprise Linux 9grafana-pcpNot affected
Red Hat Enterprise Linux 9grafana-selinuxFix pending
Affected
Red Hat Enterprise Linux 9netstandard-targeting-pack-2.1Not affected
Red Hat Enterprise Linux 9nodejsWill not fix
Will not fix
Red Hat Enterprise Linux 9nodejs-docsWill not fix
Will not fix
Red Hat Enterprise Linux 9nodejs-full-i18nWill not fix
Will not fix
Red Hat Enterprise Linux 9nodejs-libsWill not fix
Will not fix
Red Hat Enterprise Linux 9npmWill not fix
Will not fix
Red Hat Enterprise Linux 9pcsNot affected
Red Hat Enterprise Linux 9pcs-snmpNot affected
Red Hat Enterprise Linux 9python3-lib389Will not fix
Will not fix
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 9thunderbirdNot affected
Red Hat Enterprise Linux 8389-ds-baseWill not fix
Will not fix
Red Hat Enterprise Linux 8389-ds-base-develWill not fix
Will not fix
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 8389-ds-base-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8389-ds-base-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 8aspnetcore-runtime-8.0Not affected
Red Hat Enterprise Linux 8aspnetcore-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 8cargoNot affected
Red Hat Enterprise Linux 8cargo-docNot affected
Red Hat Enterprise Linux 8clippyNot affected
Red Hat Enterprise Linux 8cockpit-389-dsWill not fix
Will not fix
Red Hat Enterprise Linux 8dotnetNot affected
Red Hat Enterprise Linux 8dotnet-apphost-pack-8.0Not affected
Red Hat Enterprise Linux 8dotnet-hostNot affected
Red Hat Enterprise Linux 8dotnet-hostfxr-8.0Not affected
Red Hat Enterprise Linux 8dotnet-runtime-8.0Not affected
Red Hat Enterprise Linux 8dotnet-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 8dotnet-sdk-8.0Not affected
Red Hat Enterprise Linux 8dotnet-sdk-8.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 8dotnet-sdk-dbg-8.0Not affected
Red Hat Enterprise Linux 8dotnet-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 8dotnet-templates-8.0Not affected
Red Hat Enterprise Linux 8dotnet8.0Not affected
Red Hat Enterprise Linux 8grafanaFix pending
Affected
Red Hat Enterprise Linux 8grafana-azure-monitorFix pending
Affected
Red Hat Enterprise Linux 8grafana-cloudwatchFix pending
Affected
Red Hat Enterprise Linux 8grafana-elasticsearchFix pending
Affected
Red Hat Enterprise Linux 8grafana-graphiteFix pending
Affected
Red Hat Enterprise Linux 8grafana-influxdbFix pending
Affected
Red Hat Enterprise Linux 8grafana-lokiFix pending
Affected
Red Hat Enterprise Linux 8grafana-mssqlFix pending
Affected
Red Hat Enterprise Linux 8grafana-mysqlFix pending
Affected
Red Hat Enterprise Linux 8grafana-opentsdbFix pending
Affected
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Enterprise Linux 8grafana-postgresFix pending
Affected
Red Hat Enterprise Linux 8grafana-prometheusFix pending
Affected
Red Hat Enterprise Linux 8grafana-selinuxFix pending
Affected
Red Hat Enterprise Linux 8grafana-stackdriverFix pending
Affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8netstandard-targeting-pack-2.1Not affected
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
Red Hat Enterprise Linux 8python3-lib389Will not fix
Will not fix
Red Hat Enterprise Linux 8rlsNot affected
Red Hat Enterprise Linux 8rustNot affected
Red Hat Enterprise Linux 8rust-analysisNot affected
Red Hat Enterprise Linux 8rust-analyzerNot affected
Red Hat Enterprise Linux 8rust-debugger-commonNot affected
Red Hat Enterprise Linux 8rust-docNot affected
Red Hat Enterprise Linux 8rust-gdbNot affected
Red Hat Enterprise Linux 8rust-lldbNot affected
Red Hat Enterprise Linux 8rust-srcNot affected
Red Hat Enterprise Linux 8rust-std-staticNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 8rust-toolsetNot affected
Red Hat Enterprise Linux 8rustfmtNot affected
Red Hat Enterprise Linux 8thunderbirdNot 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-yamlFixed3.15.2GHSA-2883-xcg3-v3hh

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.