CVE-2025-69873: ajv · ReDoS
Affects ajvSource CVE Database V5
Not known to be exploited · CVSS 2.9 Low : upgrade to 8.17.2 or 6.14.0 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.17.2, 6.14.0
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 11 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade ajv to 8.17.2 or 6.14.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ajv.jsajv | Affected
| Fixed in
|
AI-suggested
A fix is available in ajv version 8.18.0. Users should upgrade to this or a later version to remediate the vulnerability. If upgrading is not immediately possible, the vendor advisory recommends disabling the $data feature if it is not required. If $data must be used, strict validation of input fields referenced by the pattern keyword should be implemented to ensure only expected and safe characters are accepted.
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.
References
- github.com/advisories/GHSA-2g4f-4pwh-qvx6 (opens in a new tab)
- github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69873-ajv-ReDoS.md (opens in a new tab)
- github.com/github/advisory-database/pull/6991 (opens in a new tab)
- github.com/ajv-validator/ajv/pull/2588 (opens in a new tab)
- github.com/ajv-validator/ajv/releases/tag/v6.14.0 (opens in a new tab)
- github.com/ajv-validator/ajv/pull/2590 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-69873 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2439070 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-69873.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33371 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:13512 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6277 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16874 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6309 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9742 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6802 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36651 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:40945 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:40118 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5807 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19712 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:15091 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:14774 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5910 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5907 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:10093 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6192 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:41941 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:41944 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:40984 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7314 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6568 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6497 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6567 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:5168 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:26214 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:26211 (opens in a new tab)