cve.bz

CVE-2026-73643 nodeca js-yaml: Inefficient Algorithmic Complexity

7.5 highEPSS 0.5%Fix available

High (7.5) in nodeca js-yaml. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in js-yaml 5.2.2.

On this page
js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 until 5.2.2, parsing a small YAML document can take exponential time when an application calls load() or loadAll() on untrusted input. In src/parser/parser.ts, readFlowCollection uses restoreState and calls parseNode a second time when a flow-sequence entry is recognized as a key: value pair. If the key is a nested flow sequence of the same shape, every level is parsed twice, causing O(2^n) work and allowing an input under 200 bytes to keep one CPU busy for minutes, block the Node.js event loop, and stall the process. No anchors, aliases, merges, tags, or nondefault options are required. This issue is fixed in version 5.2.2.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • js-yaml (npm): fixed in 5.2.2

Ask an AI about this CVE

Show the promptExplain CVE-2026-73643 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-73643?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-73643?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-73643 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nodeca js-yaml>= 5.0.0, < 5.2.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pm4m-ph32-ghv5npmjs-yaml>=5.0.0 <5.2.25.2.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 morenode-js-yamlno fix listedUBUNTU-CVE-2026-73643

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important denial-of-service flaw in the `js-yaml` library, where processing specially crafted YAML input can lead to exponential parsing time. This can cause applications utilizing affected versions of `js-yaml` within Red Hat products to consume excessive CPU resources, potentially blocking the Node.js event loop and leading to service unavailability.

Red Hat's mitigation

To mitigate this issue, restrict applications from processing untrusted YAML input with affected versions of the `js-yaml` library. Implement strict input validation to ensure that only trusted and well-formed YAML data is processed. If the application is exposed to external, untrusted sources, consider isolating the application or implementing additional resource limits to prevent complete service disruption.

ProductPackageStateAdvisory
Cluster Observability Operator 1.5.3cluster-observability-operator/monitoring-console-plugin-pf6-rhel9:1787597578Fixed 2026-08-31RHSA-2026:61314
Red Hat Ansible Automation Platform 2.2ansible-automation-platform/bootc-automation-portal-rhel9:1788943531Fixed 2026-09-09RHSA-2026:66003
Red Hat Discovery 2discovery/discovery-ui-rhel9:1788206196Fixed 2026-08-31RHSA-2026:61783
Red Hat Edge Manager 1.1rhem/flightctl-ui-ocp-rhel10:1789486226Fixed 2026-09-16RHSA-2026:68044
Red Hat Edge Manager 1.1rhem/flightctl-ui-rhel10:1789486181Fixed 2026-09-16RHSA-2026:68044
Red Hat Edge Manager 1.1rhem/flightctl-ui-ocp-rhel9:1789486446Fixed 2026-09-16RHSA-2026:68253
Red Hat Edge Manager 1.2rhem/flightctl-ui-ocp-rhel10:1789485920Fixed 2026-09-16RHSA-2026:68006
Red Hat Edge Manager 1.2rhem/flightctl-ui-rhel10:1789488111Fixed 2026-09-16RHSA-2026:68006
Red Hat Edge Manager 1.2rhem/flightctl-ui-ocp-rhel9:1789486476Fixed 2026-09-16RHSA-2026:68254
Red Hat Edge Manager 1.2rhem/flightctl-ui-rhel9:1789486750Fixed 2026-09-16RHSA-2026:68254
Cryostat 4cryostat/cryostat-openshift-console-plugin-rhel9Not affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-ui-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Not affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-pf5-rhel9Not affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Not affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleAffected
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorAffected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Affected
158 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-73643.

References

Check your stackJSON