Raw vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-69873 is a low-severity Inefficient Regular Expression Complexity (CWE-1333) vulnerability in ajv (named in the CVE record; NVD lists no product yet). Its CVSS base score is 2.9 (Low).
Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 46th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SC-5 (Denial-of-service Protection) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2025-69873 is a Regular Expression Denial of Service (ReDoS) vulnerability in ajv (Another JSON Schema Validator) versions before 8.18.0. The issue arises when the $data option is enabled, as the pattern keyword accepts runtime data via JSON Pointer syntax ($data reference), which is passed directly to the JavaScript RegExp() constructor without validation. This allows injection of malicious regex patterns, such as "^(a|a)*$", leading to catastrophic backtracking when combined with crafted input. A 31-character payload can cause approximately 44 seconds of CPU blocking, with each additional character roughly doubling execution time. The vulnerability is also addressed in ajv version 6.14.0.
An attacker can exploit this vulnerability by submitting a specially crafted input to any API or application using ajv with $data: true for dynamic schema validation, enabling a complete denial of service via a single HTTP request. The CVSS v3.1 base score is 2.9 (Low), reflecting a local attack vector (AV:L), high attack complexity (AC:H), no privileges required (PR:N), no user interaction (UI:N), unchanged scope (S:U), and low impact on availability (A:L) with no impact on confidentiality or integrity. Associated CWEs are CWE-1333 (Inefficient Regular Expression Complexity) and CWE-400 (Uncontrolled Resource Consumption).
Advisories and patches recommend upgrading to ajv 8.18.0 or later, or version 6.14.0 for the legacy branch. The GitHub Security Advisory (GHSA-2g4f-4pwh-qvx6) details the issue, while pull requests #2588 and #2590 in the ajv-validator/ajv repository implement the fixes, and the v6.14.0 release tag confirms the patch availability. A detailed disclosure is available at https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69873-ajv-ReDoS.md.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-207389
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Developer testing and evaluation can discover inefficient regex patterns via performance or static analysis.
SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.
SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.
Development standards and tools can require safe regex construction and forbid known exponential patterns.
Process isolation confines resource consumption to separate domains, reducing blast radius without stopping the root flaw.
Input validation can constrain data that would otherwise trigger worst-case regex complexity.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.
Security testing can detect and reject regex patterns with exponential worst-case complexity.
Training can teach developers about regex backtracking risks and safer patterns, but CWE-1333 is a subtle implementation defect requiring specialized knowledge; most instances arise from developers who either were not trained on this topic or did not retain the guidance, leaving a majority of cases unaffected.
A.8.20 implements network-level protections (firewalls, segmentation, protocol hardening, monitoring, authentication of systems/devices) that can limit abuse of a resource-consuming weakness but do not stop the weakness from being exploitable; the flaw remains present in the product and can still be triggered from an authorized or internal context.
Secure coding standards explicitly prohibit or limit the use of inefficient regular expressions.
A.8.30 carries its effect through the secure-coding practices (8.25-8.29) its contract requires of the supplier, so a well-implemented clause reduces ReDoS instances the way those practices do; the clause's declared ceiling on this verb is `partial`, and the effect depends on supplier implementation of the mandated practices.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.