Low severity · published Feb 11, 2026
CVE-2025-69873
ajv (Another JSON Schema Validator) before 8.18.0 is vulnerable to Regular Expression Denial of Service (ReDoS) when the $data option is enabled
2.9
CVSS
0.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack vector
Local
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 46% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AJ
ajv · ajv.js
before 6.14.0; 7.0.0 before 8.17.2 · source: vendor
CC
Confidential Compute Attestation · Red Hat
All versions, or not specified · source: CISA
LS
Logging Subsystem for Red Hat OpenShift · Red Hat
All versions, or not specified · source: CISA
NO
Network Observability (NETOBSERV) 1.11.0 · Red Hat
All versions, or not specified · source: CISA
NH
Node HealthCheck Operator · Red Hat
All versions, or not specified · source: CISA
OP
OpenShift Pipelines · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat 3scale API Management Platform 2 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2.5 for RHEL 8 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2.5 for RHEL 9 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2.6 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Ansible Automation Platform 2.6 for RHEL 9 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-69873
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-69873
github.com
https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69873-ajv-ReDoS.md
github.com
https://github.com/advisories/GHSA-2g4f-4pwh-qvx6
github.com
https://github.com/ajv-validator/ajv/pull/2588
github.com
https://github.com/ajv-validator/ajv/pull/2590
github.com
https://github.com/ajv-validator/ajv/releases/tag/v6.14.0
github.com
https://github.com/github/advisory-database/pull/6991
More from ajv
5.6
CVE-2020-15366
An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator) 6.12.2
