Skip to content

CVE-2026-73643 js-yaml: Exponential parsing time in the flow collections leads to denial of service

HighCVSS 7.5 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
nodeca js-yaml = >= 5.0.0, < 5.2.2 No fix listed
redhat/cluster-observability-operator/monitoring-console-plugin-pf6-rhel9:1787597578(Red Hat:cluster_observability_operator:1.5::el9) All versions No fix listed
redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1788943531(Red Hat:ansible_portal:2.2::el9) All versions No fix listed
redhat/discovery/discovery-ui-rhel9:1788206196(Red Hat:discovery:2::el9) All versions No fix listed
redhat/rhem/flightctl-ui-ocp-rhel10:1789486226(Red Hat:edge_manager:1.1::el10) All versions No fix listed
redhat/rhem/flightctl-ui-rhel10:1789486181(Red Hat:edge_manager:1.1::el10) All versions No fix listed
redhat/rhem/flightctl-ui-ocp-rhel9:1789486446(Red Hat:edge_manager:1.1::el9) All versions No fix listed
redhat/rhem/flightctl-ui-ocp-rhel10:1789485920(Red Hat:edge_manager:1.2::el10) All versions No fix listed
redhat/rhem/flightctl-ui-rhel10:1789488111(Red Hat:edge_manager:1.2::el10) All versions No fix listed
redhat/rhem/flightctl-ui-ocp-rhel9:1789486476(Red Hat:edge_manager:1.2::el9) All versions No fix listed
redhat/rhem/flightctl-ui-rhel9:1789486750(Red Hat:edge_manager:1.2::el9) All versions No fix listed
redhat/rhmtc/openshift-migration-ui-rhel8:1789546373(Red Hat:rhmt:1.8::el8) All versions No fix listed
redhat/rhoai/odh-dashboard-rhel9:1788312226(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-model-registry-rhel9:1788312157(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1787801527(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-dashboard-rhel9:1791861020(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-feature-server-rhel9:1791863220(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-automl-rhel9:1791861032(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-autorag-rhel9:1791860994(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-eval-hub-rhel9:1791861214(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1791861479(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1791788267(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-maas-rhel9:1793001859(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-mlflow-rhel9:1793001851(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-model-registry-rhel9:1793001827(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
Show 43 more
ProductAffected versionsFixed in
redhat/openshift4/nmstate-console-plugin-rhel9:1789937643(Red Hat:openshift:4.17::el9) All versions No fix listed
redhat/openshift4/nmstate-console-plugin-rhel9:1789904088(Red Hat:openshift:4.18::el9) All versions No fix listed
redhat/openshift4/nmstate-console-plugin-rhel9:1788312221(Red Hat:openshift:4.19::el9) All versions No fix listed
redhat/openshift4/nmstate-console-plugin-rhel9:1787837308(Red Hat:openshift:4.20::el9) All versions No fix listed
redhat/openshift4/nmstate-console-plugin-rhel9:1787590372(Red Hat:openshift:4.21::el9) All versions No fix listed
redhat/openshift4/nmstate-console-plugin-rhel9:1787744843(Red Hat:openshift:4.22::el9) All versions No fix listed
redhat/odf4/odf-console-rhel9:1793126829(Red Hat:openshift_data_foundation:4.19::el9) All versions No fix listed
redhat/rhtas/rekor-search-ui-rhel9:1791534339(Red Hat:trusted_artifact_signer:1.4::el9) All versions No fix listed
redhat/workload-availability/node-healthcheck-must-gather-rhel9(Red Hat:workload_availability_nhc:0) All versions No fix listed
redhat/workload-availability/node-healthcheck-operator-bundle(Red Hat:workload_availability_nhc:0) All versions No fix listed
redhat/workload-availability/node-healthcheck-rhel9-operator(Red Hat:workload_availability_nhc:0) All versions No fix listed
redhat/workload-availability/node-remediation-console-rhel8(Red Hat:workload_availability_nhc:0) All versions No fix listed
redhat/workload-availability/node-remediation-console-rhel9(Red Hat:workload_availability_nhc:0) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-agentic-console-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-console-plugin-419-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-console-plugin-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-pipelines/pipelines-console-plugin-pf5-rhel9(Red Hat:openshift_pipelines:1) All versions No fix listed
redhat/openshift-pipelines/pipelines-console-plugin-rhel8(Red Hat:openshift_pipelines:1) All versions No fix listed
redhat/openshift-pipelines/pipelines-console-plugin-rhel9(Red Hat:openshift_pipelines:1) All versions No fix listed
redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat:openshift_pipelines:1) All versions No fix listed
redhat/openshift-pipelines/pipelines-hub-ui-rhel9(Red Hat:openshift_pipelines:1) All versions No fix listed
redhat/advanced-cluster-security/rhacs-main-rhel8(Red Hat:advanced_cluster_security:4) All versions No fix listed
redhat/advanced-cluster-security/rhacs-main-rhel9(Red Hat:advanced_cluster_security:4) All versions No fix listed
redhat/ocs4/rhceph-rhel8(Red Hat:ceph_storage:4) All versions No fix listed
redhat/rhceph/alloy-rhel10(Red Hat:ceph_storage:9) All versions No fix listed
redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/openshift5/nmstate-console-plugin-rhel9(Red Hat:openshift:5) All versions No fix listed
redhat/odf4/ocs-client-console-rhel9(Red Hat:openshift_data_foundation:4) All versions No fix listed
redhat/odf4/odf-multicluster-console-rhel9(Red Hat:openshift_data_foundation:4) All versions No fix listed
redhat/openshift-gitops-1/argocd-rhel8(Red Hat:openshift_gitops:1) All versions No fix listed
redhat/openshift-gitops-1/argocd-rhel9(Red Hat:openshift_gitops:1) All versions No fix listed
redhat/rhtas/rhtas-console-ui-rhel9(Red Hat:trusted_artifact_signer:1) All versions No fix listed
redhat/rhtpa/rhtpa-trustification-service-rhel9(Red Hat:trusted_profile_analyzer:2) All versions No fix listed
redhat/external-secrets-management/console-plugin-rhel9(Red Hat:secrets_management_console:0) All versions No fix listed
npm js-yaml(npm) >= 5.0.0, <= 5.2.1 No fix listed
ubuntu/node-js-yaml(Ubuntu:22.04) All versions No fix listed
ubuntu/node-js-yaml(Ubuntu:24.04) All versions No fix listed
ubuntu/node-js-yaml(Ubuntu:26.04) All versions No fix listed
ubuntu/node-js-yaml(Ubuntu:26.10) All versions No fix listed

References