CVE-2026-84375js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-js-yaml | Fix pending | UBUNTU-CVE-2026-84375 | |
| Ubuntu 26.04 | node-js-yaml | Under investigation | UBUNTU-CVE-2026-84375 | |
| Ubuntu 24.04 | node-js-yaml | Under investigation | UBUNTU-CVE-2026-84375 | |
| Ubuntu 22.04 | node-js-yaml | Under investigation | UBUNTU-CVE-2026-84375 | |
| Ubuntu 20.04 | node-js-yaml | Fix pending | UBUNTU-CVE-2026-84375 | |
| Ubuntu 18.04 | node-js-yaml | Fix pending | UBUNTU-CVE-2026-84375 | |
| Debian 14 | node-js-yaml | Fixed | 4.3.2+~4.0.9-1 | DEBIAN-CVE-2026-84375 |
| Debian 13 | node-js-yaml | Fix pending | DEBIAN-CVE-2026-84375 | |
| Debian 12 | node-js-yaml | Fix pending | DEBIAN-CVE-2026-84375 | |
| Red Hat Enterprise Linux 10 | aspnetcore-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | aspnetcore-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | aspnetcore-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | cargo | Not affected | ||
| Red Hat Enterprise Linux 10 | clippy | Not affected | ||
| Red Hat Enterprise Linux 10 | cockpit-ha-cluster | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-apphost-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-hostfxr-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-sdk-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-sdk-8.0-source-built-artifacts | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-sdk-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-templates-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | firefox | Not affected | ||
| Red Hat Enterprise Linux 10 | gnome-shell-extension-dash-to-panel | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | grafana-pcp | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | librados-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | librados2 | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | libradospp-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | librbd-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | librbd1 | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs-docs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs-npm | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs22 | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs24 | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-docs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-npm | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs26 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | nodejs26-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | nodejs26-docs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | nodejs26-full-i18n | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | nodejs26-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | nodejs26-npm | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | pcs | Not affected | ||
| Red Hat Enterprise Linux 10 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 10 | rh-podman-desktop | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | rust | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 10 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-snmp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-6.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-7.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | aspnetcore-targeting-pack-6.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | aspnetcore-targeting-pack-7.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | aspnetcore-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | cargo | Not affected | ||
| Red Hat Enterprise Linux 9 | clippy | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-apphost-pack-6.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-apphost-pack-7.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-apphost-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-host | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-hostfxr-6.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-hostfxr-7.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-hostfxr-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-6.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-7.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-6.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-6.0-source-built-artifacts | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-7.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-7.0-source-built-artifacts | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-8.0-source-built-artifacts | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-targeting-pack-6.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-targeting-pack-7.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-templates-6.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-templates-7.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-templates-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet6.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet7.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | grafana | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | grafana-pcp | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | netstandard-targeting-pack-2.1 | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | nodejs-docs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | nodejs-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | npm | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | pcs | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-lib389 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | rust | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 9 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-legacy-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-snmp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | clippy | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-389-ds | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-host | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-8.0-source-built-artifacts | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-templates-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-pcp | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | netstandard-targeting-pack-2.1 | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-lib389 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | rls | Not affected | ||
| Red Hat Enterprise Linux 8 | rust | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 8 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 7 | python-syspurpose | Not affected | ||
| Red Hat Enterprise Linux 7 | rhsm-gtk | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-cockpit | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-gui | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-initial-setup-addon | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-migration | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-plugin-container | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-plugin-ostree | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-rhsm | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-rhsm-certificates | Not affected | ||
| npm library | js-yaml | Fixed | 3.15.2 | GHSA-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.
- nodeca js-yaml: affected: >= 3.0.0, < 3.15.2, >= 4.0.0, < 4.3.2, >= 5.0.0, < 5.4.1
References
- https://github.com/nodeca/js-yaml/security/advisories/GHSA-2883-xcg3-v3hh
- https://github.com/nodeca/js-yaml/pull/797
- https://github.com/nodeca/js-yaml/commit/3485bc06ff8a0251505f44a00414d90df2466639
- https://github.com/nodeca/js-yaml/commit/6a8e05f9a485188ed730ac81e81ae221352ef480
- https://github.com/nodeca/js-yaml/commit/d90b6612a5a84385bdcb556c44578eac76dc0f6b
- https://github.com/nodeca/js-yaml/releases/tag/3.15.2
- https://github.com/nodeca/js-yaml/releases/tag/4.3.2
- https://github.com/nodeca/js-yaml/releases/tag/5.4.1
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.