js-yaml: Exponential parsing time in the flow collections leads to denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 16 fixed, 13 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-407.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nodeca | js-yaml | 5.0.0 to before 5.2.2 | 5.2.2 | Patch available | CNA |
| — | js-yaml (npm) | 5.0.0 to before 5.2.2 | 5.2.2 | Patch available | GHSA-pm4m-ph32-ghv5 |
- js-yaml Vendornodeca Affected 5.0.0 to before 5.2.2 Fixed in 5.2.2 Patch available CNA
- js-yaml (npm) Vendor— Affected 5.0.0 to before 5.2.2 Fixed in 5.2.2 Patch available GHSA-pm4m-ph32-ghv5
Remediation
- Fix · CNA js-yaml (nodeca) Fixed in 5.2.2
- Fix · GHSA-pm4m-ph32-ghv5 js-yaml (npm) Fixed in 5.2.2 Advisory →
Red Hat 19 advisories
- RHSA-2026:92650 Released 2026-10-29 · Red Hat rating ImportantRed Hat OpenShift Data Foundation 4.19.26 security, enhancement & bug fix update
- Red Hat Openshift Data Foundation 4.19 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/mcg-core-rhel9 +17
- RHSA-2026:92510 Released 2026-10-29 · Red Hat rating CriticalRHOAI 3.4.6 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-cli-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9 +47
- RHSA-2026:84734 Released 2026-10-19 · Red Hat rating CriticalRHOAI 3.4.5 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9, registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9 +47
Show 16 more Red Hat advisories
- RHSA-2026:83598 Released 2026-10-15 · Red Hat rating ImportantRHTAS 1.4.4 - Red Hat Trusted Artifact Signer Release
- Red Hat Trusted Artifact Signer 1.4 registry.redhat.io/rhtas/certificate-transparency-rhel9, registry.redhat.io/rhtas/fulcio-rhel9, registry.redhat.io/rhtas/rekor-backfill-redis-rhel9 +6
- RHSA-2026:70618 Released 2026-10-01 · Red Hat rating ImportantOpenShift Container Platform 4.18.56 security and extras update
- Red Hat OpenShift Container Platform 4.18 registry.redhat.io/openshift4/nmstate-console-plugin-rhel9, registry.redhat.io/openshift4/ose-clusterresourceoverride-rhel9, registry.redhat.io/openshift4/ose-clusterresourceoverride-rhel9-operator +3
- RHSA-2026:70588 Released 2026-10-01 · Red Hat rating ImportantOpenShift Container Platform 4.17.58 security and extras update
- Red Hat OpenShift Container Platform 4.17 registry.redhat.io/openshift4/ingress-node-firewall-rhel9, registry.redhat.io/openshift4/ingress-node-firewall-rhel9-operator, registry.redhat.io/openshift4/nmstate-console-plugin-rhel9 +9
- RHSA-2026:68681 Released 2026-09-17 · Red Hat rating ImportantMigration Toolkit for Containers (MTC) 1.8.17 update
- Red Hat Migration Toolkit 1.8 registry.redhat.io/rhmtc/openshift-migration-registry-rhel8, registry.redhat.io/rhmtc/openshift-migration-ui-rhel8
- RHSA-2026:68254 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.2.1 Security Update
- Red Hat Edge Manager 1.2 registry.redhat.io/rhem/flightctl-alert-exporter-rhel9, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel9, registry.redhat.io/rhem/flightctl-api-rhel9 +11
- RHSA-2026:68253 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.1.4 Security Update
- Red Hat Edge Manager 1.1 registry.redhat.io/rhem/flightctl-alert-exporter-rhel9, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel9, registry.redhat.io/rhem/flightctl-api-rhel9 +10
- RHSA-2026:68044 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.1.4 Security Update
- Red Hat Edge Manager 1.1 registry.redhat.io/rhem/flightctl-alert-exporter-rhel10, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel10, registry.redhat.io/rhem/flightctl-api-rhel10 +11
- RHSA-2026:68006 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.2.1 Security Update
- Red Hat Edge Manager 1.2 registry.redhat.io/rhem/flightctl-alert-exporter-rhel10, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel10, registry.redhat.io/rhem/flightctl-api-rhel10 +11
- RHSA-2026:66003 Released 2026-09-09 · Red Hat rating ImportantAnsible automation portal Red Hat Enterprise Linux Images
- Red Hat Ansible Automation Platform 2.2 registry.redhat.io/ansible-automation-platform/bootc-automation-portal-rhel9
- RHSA-2026:63050 Released 2026-09-09 · Red Hat rating ImportantOpenShift Container Platform 4.19.46 security and extras update
- Red Hat OpenShift Container Platform 4.19 registry.redhat.io/openshift4/ingress-node-firewall-rhel9, registry.redhat.io/openshift4/ingress-node-firewall-rhel9-operator, registry.redhat.io/openshift4/kube-compare-artifacts-rhel9 +5
- RHSA-2026:65126 Released 2026-09-08 · Red Hat rating ImportantRHOAI 2.25.11 - Red Hat OpenShift AI
- Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-caikit-tgis-serving-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9 +47
- RHSA-2026:60447 Released 2026-09-01 · Red Hat rating ImportantOpenShift Container Platform 4.20.36 security and extras update
- Red Hat OpenShift Container Platform 4.20 registry.redhat.io/openshift4/nmstate-console-plugin-rhel9, registry.redhat.io/openshift4/ose-aws-efs-csi-driver-container-rhel9, registry.redhat.io/openshift4/ose-cluster-capacity-rhel9 +1
- RHSA-2026:60442 Released 2026-09-01 · Red Hat rating ImportantOpenShift Container Platform 4.22.12 security and extras update
- Red Hat OpenShift Container Platform 4.22 registry.redhat.io/openshift4/nmstate-console-plugin-rhel9, registry.redhat.io/openshift4/ose-aws-efs-csi-driver-container-rhel9, registry.redhat.io/openshift4/ose-aws-efs-csi-driver-rhel9-operator +2
- RHSA-2026:60478 Released 2026-09-01 · Red Hat rating ImportantOpenShift Container Platform 4.21.31 security and extras update
- Red Hat OpenShift Container Platform 4.21 registry.redhat.io/openshift4/nmstate-console-plugin-rhel9, registry.redhat.io/openshift4/ose-cluster-capacity-rhel9
- RHSA-2026:61783 Released 2026-08-31 · Red Hat rating ImportantA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
- RHSA-2026:61314 Released 2026-08-31 · Red Hat rating ImportantCluster Observability Operator 1.5.2
- Cluster Observability Operator 1.5 registry.redhat.io/cluster-observability-operator/alertmanager-rhel9, registry.redhat.io/cluster-observability-operator/cluster-health-analyzer-rhel9, registry.redhat.io/cluster-observability-operator/cluster-observability-rhel9-operator +10
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Node HealthCheck Operator | Affected | No fix yet |
| OpenShift Lightspeed | Affected | No fix yet |
| OpenShift Pipelines | Affected | No fix yet |
| Red Hat Advanced Cluster Security 4 | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 4 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 9 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat OpenShift GitOps | Affected | No fix planned: Will not fix |
| Red Hat Openshift Data Foundation 4 | Affected | No fix yet |
| Red Hat Trusted Artifact Signer | Affected | No fix planned: Will not fix |
| Red Hat Trusted Profile Analyzer | Affected | No fix planned: Will not fix |
| Secrets Management Console for Red Hat OpenShift | Affected | No fix planned: Will not fix |
| Cluster Observability Operator 1.5 | Fixed | RHSA-2026:61314 |
| Red Hat Ansible Automation Platform 2.2 | Fixed | RHSA-2026:66003 |
| Red Hat Discovery 2 | Fixed | RHSA-2026:61783 |
| Red Hat Edge Manager 1.1 | Fixed | RHSA-2026:68044, RHSA-2026:68253 |
| Red Hat Edge Manager 1.2 | Fixed | RHSA-2026:68006, RHSA-2026:68254 |
| Red Hat Migration Toolkit 1.8 | Fixed | RHSA-2026:68681 |
| Red Hat OpenShift AI 2.25 | Fixed | RHSA-2026:65126 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:84734, RHSA-2026:92510 |
| Red Hat OpenShift Container Platform 4.17 | Fixed | RHSA-2026:70588 |
| Red Hat OpenShift Container Platform 4.18 | Fixed | RHSA-2026:70618 |
| Red Hat OpenShift Container Platform 4.19 | Fixed | RHSA-2026:63050 |
| Red Hat OpenShift Container Platform 4.20 | Fixed | RHSA-2026:60447 |
| Red Hat OpenShift Container Platform 4.21 | Fixed | RHSA-2026:60478 |
| Red Hat OpenShift Container Platform 4.22 | Fixed | RHSA-2026:60442 |
| Red Hat Openshift Data Foundation 4.19 | Fixed | RHSA-2026:92650 |
| Red Hat Trusted Artifact Signer 1.4 | Fixed | RHSA-2026:83598 |
Not affected: 60 products
- Cluster Observability Operator 1.5
- Cryostat 4
- Gatekeeper 3
- Migration Toolkit for Applications 8
- Multicluster Engine for Kubernetes
- Network Observability Operator
- OpenShift Service Mesh 3
- Red Hat 3scale API Management Platform 2
- Red Hat AMQ Broker 7
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Ansible Automation Platform 2
- Red Hat Build of Keycloak
- Red Hat Build of Podman Desktop
- Red Hat Ceph Storage 4
- Red Hat Ceph Storage 6
- Red Hat Ceph Storage 7
- Red Hat Ceph Storage 8
- Red Hat Ceph Storage 9
- Red Hat Certification Program for Red Hat Enterprise Linux 9
- Red Hat Connectivity Link 1
- Red Hat Data Grid 8
- Red Hat Developer Hub 1
- Red Hat Directory Server 11
- Red Hat Directory Server 12
- Red Hat Directory Server 13
- Red Hat Discovery 2
- Red Hat Edge Manager 1.1
- Red Hat Edge Manager 1.2
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat Hardened Images
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat Migration Toolkit 1.8
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 4.17
- Red Hat OpenShift Container Platform 4.18
- Red Hat OpenShift Container Platform 4.19
- Red Hat OpenShift Container Platform 4.20
- Red Hat OpenShift Container Platform 4.21
- Red Hat OpenShift Container Platform 4.22
- Red Hat OpenShift Container Platform 5
- Red Hat OpenShift Dev Spaces
- Red Hat OpenShift GitOps
- Red Hat OpenShift Virtualization 4
- Red Hat Openshift Data Foundation 4.19
- Red Hat Quay 3
- Red Hat Satellite 6
- Red Hat Single Sign-On 7
- Red Hat Trusted Artifact Signer 1.4
- Red Hat build of Apache Camel for Spring Boot 4
- Red Hat build of Apicurio Registry 3
- Self-service automation portal 2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-73643
- 2026-10-03 Alias added: GHSA-pm4m-ph32-ghv5
- 2026-10-16 Fix available: RHSA-2026:83598 · Red Hat
- 2026-10-16 Fix available: Red Hat Trusted Artifact Signer 1.4 · Red Hat
- 2026-10-20 Fix available: RHSA-2026:84734 · Red Hat
- 2026-10-20 Fix available: Red Hat OpenShift AI 3.4 · Red Hat
- 2026-10-21 Affected versions changed · Red Hat
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92510 · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-30 Fix available: Red Hat Openshift Data Foundation 4.19 · Red Hat
- 2026-10-31 Fix available: RHSA-2026:92650 · Red Hat
- 2026-11-05 Fix available: Cluster Observability Operator 1.5 · Red Hat
References
More nodeca vulnerabilities
- TI-2026-66141 probe-image-size: Quadratic-time Denial of Service in the SVG Parser CVSS 3.1HIGH 7.5
- TI-2026-42685 js-yaml quadratic-complexity denial of service via YAML11_SCHEMA !!omap parsing CVSS 3.1HIGH 7.5
- TI-2026-42684 js-yaml: YAML merge-key chains can force quadratic CPU consumption CVSS 3.1HIGH 7.5
- TI-2026-42683 js-yaml: YAML merge-key chains can force quadratic CPU consumption CVSS 3.1HIGH 7.5
- TI-2013-04085 The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the… CVSS 2.0MEDIUM 6.8
- TI-2026-57986 js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources CVSS 3.1HIGH 7.5
Sources
- CVE-2026-73643 · CVE Program
- CVE-2026-73643 · NVD
- FIRST EPSS
- GHSA-pm4m-ph32-ghv5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-73643 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences