CVE-2025-69873: ajv 8.17.1 ReDoS via $data regex injection
CVE-2025-69873 Published on February 11, 2026

ajv (Another JSON Schema Validator) before 8.18.0 is vulnerable to Regular Expression Denial of Service (ReDoS) when the $data option is enabled. The pattern keyword accepts runtime data via JSON Pointer syntax ($data reference), which is passed directly to the JavaScript RegExp() constructor without validation. An attacker can inject a malicious regex pattern (e.g., "^(a|a)*$") combined with crafted input to cause catastrophic backtracking. A 31-character payload causes approximately 44 seconds of CPU blocking, with each additional character doubling execution time. This enables complete denial of service with a single HTTP request against any API using ajv with $data: true for dynamic schema validation. This issue is also fixed in version 6.14.0.

NVD

Vulnerability Analysis

CVE-2025-69873 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

Weakness Types

What is a ReDoS Vulnerability?

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. Some regular expression engines have a feature called "backtracking". If the token cannot match, the engine "backtracks" to a position that may result in a different token that can match. Backtracking becomes a weakness if all of these conditions are met:

CVE-2025-69873 has been classified to as a ReDoS vulnerability or weakness.

What is a Resource Exhaustion Vulnerability?

The software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

CVE-2025-69873 has been classified to as a Resource Exhaustion vulnerability or weakness.


Products Associated with CVE-2025-69873

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-69873 are published in these products:

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Affected Versions

ajv.js ajv: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server: Red Hat Ansible Automation Platform 2.5 for RHEL 8: Red Hat Ansible Automation Platform 2.5 for RHEL 9: Red Hat Ansible Automation Platform 2.6 for RHEL 9: Red Hat Network Observability (NETOBSERV) 1.11.2: Red Hat Ansible Automation Platform 2.6: Red Hat Developer Hub 1.8: Red Hat Developer Hub 1.9: Red Hat OpenShift AI 2.16: Red Hat OpenShift AI 3.3: Red Hat OpenShift Container Platform 4.14: Red Hat OpenShift Container Platform 4.15: Red Hat OpenShift Container Platform 4.16: Red Hat OpenShift Container Platform 4.17: Red Hat OpenShift Container Platform 4.19: Red Hat OpenShift Dev Spaces 3.27: Red Hat Quay 3.14: Red Hat Quay 3.15: Red Hat Quay 3.16: Red Hat Quay 3.9: Red Hat Satellite 6.18: Red Hat Confidential Compute Attestation: Logging Subsystem for Red Hat OpenShift: Red Hat Node HealthCheck Operator: Red Hat OpenShift Pipelines: Red Hat 3scale API Management Platform 2: Red Hat Ansible Automation Platform 2: Red Hat build of Apicurio Registry 2: Red Hat Connectivity Link 1: Red Hat Data Grid 8: Red Hat Edge Manager 1: Red Hat Enterprise Linux AI (RHEL AI) 3: Red Hat Fuse 7: Red Hat Openshift Data Foundation 4: Red Hat OpenShift Dev Spaces: Red Hat OpenShift GitOps: Red Hat Single Sign-On 7: Red Hat streams for Apache Kafka 3: Red Hat Ansible Automation Platform 2.6 for RHEL 10: Red Hat Cryostat 4: Red Hat Gatekeeper 3: Red Hat Multicluster Engine for Kubernetes: Red Hat Network Observability Operator: Red Hat OpenShift Service Mesh 2: Red Hat OpenShift Service Mesh 3: Red Hat Advanced Cluster Management for Kubernetes 2: Red Hat Advanced Cluster Security 4: Red Hat AMQ Broker 7: Red Hat build of Apache Camel - HawtIO 4: Red Hat build of OptaPlanner 8: Red Hat Directory Server 11: Red Hat Directory Server 12: Red Hat Directory Server 13: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 9: Red Hat JBoss Enterprise Application Platform 7: Red Hat JBoss Enterprise Application Platform 8: Red Hat JBoss Enterprise Application Platform Expansion Pack: Red Hat OpenShift AI (RHOAI): Red Hat OpenShift Container Platform 4: Red Hat Process Automation 7: Red Hat Satellite 6: Red Hat streams for Apache Kafka 2:

Exploit Probability

EPSS
0.41%
Percentile
32.30%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.