CVE-2025-69873 in Ajv.Js Ajv
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 ...
Affects 1 product from 3 vendors. Facts below cite their sources.
Requires local access, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Ajv.Js | Ajv | < 6.14.0 ≥ 7.0.0, < 8.17.2 |
| Javascript | — | — |
| Validator | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-69873 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-031182-L |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Published | 2026-02-11 |
| Last modified | 2026-09-10 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-400: Uncontrolled Resource Consumption (DoS)
Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.
CWE-1333: CWE-1333
Related attack patterns (CAPEC)
CAPEC-147 XML Ping of the Death via CWE-400
CAPEC-492 Regular Expression Exponential Blowup via CWE-400, CWE-1333
CAPEC-227 Sustained Client Engagement via CWE-400
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A low severity vulnerability affects Javascript systems (CVE-2025-69873). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.
Vulnerability details: 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 CVSS vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.
Questions
What is CVE-2025-69873?
A low severity vulnerability affects Javascript systems (CVE-2025-69873). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.
What is the CVSS score for CVE-2025-69873?
CVE-2025-69873 has CVSS 2.9 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L. EPSS: 0.8%.
Is CVE-2025-69873 actively exploited?
No confirmed active exploitation of CVE-2025-69873 as of 2026-09-25.
How do I remediate CVE-2025-69873?
Priority: MONITOR.
What systems are affected by CVE-2025-69873?
CVE-2025-69873 affects Ajv.Js Ajv; Javascript; Validator.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Ajv.Js","product":"Ajv","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-10.