Home / ajv.js / ajv / CVE-2025-69873
CVE-2025-69873: is it exploited, and which versions of ajv.js ajv are affected and fixed?
CVE-2025-69873 is a regular expression denial of service (ReDoS) vulnerability in ajv.js ajv. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: ajv from 7.0.0-alpha.0 before 8.18.0 and ajv before 6.14.0 (GitHub advisory GHSA-2g4f-4pwh-qvx6). Fixed in 8.18.0 and 6.14.0 (GitHub advisory GHSA-2g4f-4pwh-qvx6). Severity: Low (2.9, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:13 UTC.
What is 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. 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.
From the CVE record by mitre, last updated September 14, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ajv.js | ajv | before 6.14.0 from 7.0.0 before 8.17.2 | 6.14.0, 8.17.2 |
As the CVE record by mitre states it, last updated September 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | ajv | >= 7.0.0-alpha.0, < 8.18.0 | 8.18.0 | GHSA-2g4f-4pwh-qvx6 |
| npm | ajv | < 6.14.0 | 6.14.0 | GHSA-2g4f-4pwh-qvx6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 2, 2026. Summary: ajv has ReDoS when using `$data` option.
How severe is CVE-2025-69873?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.9 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L | mitre |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-69873 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, February 12, 2026)
- EPSS
- 0.54% probability of exploitation activity in the next 30 days, percentile 46.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/advisories/GHSA-2g4f-4pwh-qvx6
- https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69873-ajv-ReDoS.md
- https://github.com/github/advisory-database/pull/6991
- https://github.com/ajv-validator/ajv/pull/2588
- https://github.com/ajv-validator/ajv/releases/tag/v6.14.0
- https://github.com/ajv-validator/ajv/pull/2590
- https://access.redhat.com/security/cve/CVE-2025-69873 vdb-entry, x_refsource_REDHAT
- RHBZ#2439070 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-69873.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:33371 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13512 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6277 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:16874 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6309 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:9742 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6802 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36651 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40945 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40118 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:5807 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19712 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:15091 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:14774 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:5910 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:5907 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:10093 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6192 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41941 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41944 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40984 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:7314 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6568 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6497 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6567 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:5168 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26214 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26211 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- January 9, 2026
- Published
- February 11, 2026, 00:00 UTC
- CVE record updated
- September 14, 2026, 12:04 UTC by mitre
- NVD
- Deferred, last modified September 10, 2026, 13:17 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect ajv?
- Jul 15, 2020CVE-2020-15366 Ajv.js Ajv: prototype pollution
Questions about CVE-2025-69873
Is CVE-2025-69873 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.54% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ajv.js ajv are affected by CVE-2025-69873?
ajv from 7.0.0-alpha.0 before 8.18.0 and ajv before 6.14.0, per the GitHub advisory GHSA-2g4f-4pwh-qvx6. The tables above give every range the sources list.
Which version fixes CVE-2025-69873?
8.18.0 and 6.14.0, per the GitHub advisory GHSA-2g4f-4pwh-qvx6. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-69873?
Low (2.9, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2025-69873?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.