CVE-2025-69873

Source
https://cve.org/CVERecord?id=CVE-2025-69873
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-69873.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-69873
Aliases
Downstream
Related
Published
2026-02-11T00:00:00Z
Modified
2026-05-18T05:59:41.855795154Z
Severity
  • 2.9 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
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 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69873.json",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "7.0.0"
                },
                {
                    "fixed": "8.17.2"
                }
            ]
        }
    ],
    "cwe_ids": [
        "CWE-1333"
    ],
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/ajv-validator/ajv

Affected ranges

Type
GIT
Repo
https://github.com/ajv-validator/ajv
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.3.0
0.3.8
0.4.0
0.4.1
0.4.14
0.4.4
0.5.0
0.5.1
0.5.11
0.5.2
0.5.6
0.5.9
0.6.0
0.6.1
0.6.10
0.6.11
0.6.9
0.7.0
1.*
1.0.0
1.0.1
1.1.0
1.1.1
1.2.0
1.2.1
1.3.1
1.3.2
1.4.0
1.4.1
1.4.10
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8
1.4.9
2.*
2.0.0
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
3.*
3.0.0
3.1.0
3.2.0
3.2.1
3.2.2
3.3.0
3.4.0
3.5.0
3.6.0
3.7.0
3.7.2
3.8.0
4.*
4.0.0
4.1.0
4.10.0
4.11.0
4.11.6
4.11.7
4.2.0
4.3.0
4.4.0
4.5.0
4.6.0
4.7.0
4.8.0
4.9.0
5.*
5.0.0
5.0.1
v5.*
v5.1.0
v5.1.1
v5.1.2
v5.1.3
v5.1.4
v5.1.5
v5.1.6
v5.2.0
v5.2.1
v5.2.2
v5.2.3
v5.2.4
v5.2.5
v5.3.0
v5.4.0
v5.5.0
v5.5.1
v5.5.2
v6.*
v6.0.0
v6.0.1
v6.1.0
v6.1.1
v6.10.0
v6.10.1
v6.10.2
v6.11.0
v6.12.0
v6.12.1
v6.12.2
v6.12.3
v6.12.4
v6.12.5
v6.12.6
v6.2.0
v6.2.1
v6.3.0
v6.4.0
v6.5.0
v6.5.1
v6.5.2
v6.5.3
v6.5.4
v6.5.5
v6.6.0
v6.6.1
v6.6.2
v6.7.0
v6.8.0
v6.8.1
v6.9.0
v6.9.1
v6.9.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-69873.json"