Vulnerability
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.
498 advisories report this vulnerability, across 6 ecosystems.
Advisories in Wolfi
- CGA-22q5-7r4f-4xvf
- CGA-23mx-9wwq-x6g6
- CGA-25pm-p724-g5r5
- CGA-28w6-2gc7-4w9g
- CGA-294v-5fwc-mvgf
- CGA-2c36-h4x3-fh88
- CGA-2cfj-v459-rp2h
- CGA-2f9w-rvxw-7cvw
- CGA-2g3q-xcpm-vj6f
- CGA-2j4f-3f28-5gw9
- CGA-2j7j-xp8v-3r4h
- CGA-2mx2-6v4j-7p23
- CGA-2qjc-r8vw-x3wg
- CGA-2wwq-6rf6-4j67
- CGA-33g5-9w93-v9h8
- CGA-36qp-56jp-pvvr
- CGA-3794-9q94-6f2r
- CGA-3852-hxgc-mqrp
- CGA-3884-gmmx-wxmf
- CGA-3f5c-vmrm-3rr3
- CGA-3j7v-3x8h-q4c6
- CGA-3mhj-q93r-xv25
- CGA-3qv5-jrr7-f8c9
- CGA-3v46-w6pc-4rpj
- CGA-3xfh-wqpc-jfrh
- CGA-482w-xwf4-hj6r
- CGA-48x9-3g3x-c77g
- CGA-494f-h34w-ppxr
- CGA-4fg8-5rrm-3w34
- CGA-4gx7-54j5-j5v4
- CGA-4hjh-r5wh-m3hr
- CGA-4px2-qq6w-f6cf
- CGA-4qc3-94f3-3gv3
- CGA-4w73-9p84-q627
- CGA-53fw-pxm2-48hp
- CGA-53qj-vpv3-r8pv
- CGA-58m2-5wq3-qgrc
- CGA-59x9-2w2r-w876
- CGA-5f8g-wv2h-hxhf
- CGA-5fhp-42xg-qm5h
- CGA-5j79-2fch-hqfm
- CGA-5jx7-3fx8-8p77
- CGA-5p36-v4q3-27j7
- CGA-5pcx-5rcq-xgqv
- CGA-5pq2-jpvw-9v9h
- CGA-5qgq-7pwr-8w22
- CGA-5vv5-6fvg-g9qx
- CGA-663c-28xc-qj3q
- CGA-66q5-m78j-f979
- CGA-66w9-hvg9-92jg
- CGA-69qw-c9qh-w7cx
- CGA-6j3q-w4rh-cc93
- CGA-6mpr-c7pg-945q
- CGA-6qrx-c4jf-hghq
- CGA-6vqc-45hh-jjp7
- CGA-6x26-85ff-4h9r
- CGA-6x6m-3qh2-gw9g
- CGA-6xcf-x848-cg5p
- CGA-79r5-j5wr-pprc
- CGA-79vr-jv92-w49j
- CGA-7f27-v7g7-hhxg
- CGA-7v9x-288r-p2vr
- CGA-7w38-px5j-pm75
- CGA-7w92-vx3h-qw72
- CGA-7x86-5gr2-jghf
- CGA-82c9-43p6-wh59
- CGA-8372-q63h-9rvw
- CGA-8hxh-9cp9-264f
- CGA-8jqv-3976-x78c
- CGA-8m5g-27r7-xfqp
- CGA-8rcf-vm6q-x8hr
- CGA-8vg8-24rc-3jxc
- CGA-8xcw-vjc8-96xw
- CGA-8xh4-84xr-m3h4
- CGA-92rq-xqcp-742m
- CGA-96qm-jq6q-xwcr
- CGA-97hr-v6xw-phpg
- CGA-984c-pr5x-xq58
- CGA-984w-f6qm-3gxr
- CGA-99vx-r2g4-5xm2
- CGA-9gwq-vph8-w5hh
- CGA-9h8h-99q3-7v5v
- CGA-9x32-m4mc-vhc5
- CGA-c67h-4mrq-qvgp
- CGA-c6vc-8h66-h552
- CGA-c9g6-qh7m-vx26
- CGA-ccpp-25qg-3pw4
- CGA-cgj8-5m7m-69mh
- CGA-cjw6-v3q9-v643
- CGA-cmc4-3jq3-h43x
- CGA-cp42-jpcw-c9jf
- CGA-f3wm-hw84-r226
- CGA-f5cv-c562-5c3p
- CGA-f5vj-j6jf-4wfr
- CGA-f6fm-8pg4-qw8q
- CGA-f6pv-rrw6-fc78
- CGA-f9cw-gpmj-92pg
- CGA-ffh9-fm7c-8chx
- CGA-fj8w-cw72-mrvg
- CGA-fjw2-73fr-pg7p
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2025-69873.
References
- https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69873-ajv-ReDoS.md
- https://github.com/advisories/GHSA-2g4f-4pwh-qvx6
- https://github.com/ajv-validator/ajv/pull/2588
- https://github.com/ajv-validator/ajv/pull/2590
- https://github.com/ajv-validator/ajv/releases/tag/v6.14.0
- https://github.com/github/advisory-database/pull/6991
- https://access.redhat.com/errata/RHSA-2026:10093
- https://access.redhat.com/errata/RHSA-2026:13512
- https://access.redhat.com/errata/RHSA-2026:14774
- https://access.redhat.com/errata/RHSA-2026:15091
- https://access.redhat.com/errata/RHSA-2026:16874
- https://access.redhat.com/errata/RHSA-2026:19712
- https://access.redhat.com/errata/RHSA-2026:26211
- https://access.redhat.com/errata/RHSA-2026:26214
- https://access.redhat.com/errata/RHSA-2026:33371
- https://access.redhat.com/errata/RHSA-2026:36651
- https://access.redhat.com/errata/RHSA-2026:40118
- https://access.redhat.com/errata/RHSA-2026:40945
- https://access.redhat.com/errata/RHSA-2026:40984
- https://access.redhat.com/errata/RHSA-2026:41941
- https://access.redhat.com/errata/RHSA-2026:41944
- https://access.redhat.com/errata/RHSA-2026:5168
- https://access.redhat.com/errata/RHSA-2026:5807
- https://access.redhat.com/errata/RHSA-2026:5907
- https://access.redhat.com/errata/RHSA-2026:5910
- https://access.redhat.com/errata/RHSA-2026:6192
- https://access.redhat.com/errata/RHSA-2026:6277
- https://access.redhat.com/errata/RHSA-2026:6309
- https://access.redhat.com/errata/RHSA-2026:6497
- https://access.redhat.com/errata/RHSA-2026:6567
- https://access.redhat.com/errata/RHSA-2026:6568
- https://access.redhat.com/errata/RHSA-2026:6802
- https://access.redhat.com/errata/RHSA-2026:7314
- https://access.redhat.com/errata/RHSA-2026:9742
- https://access.redhat.com/security/cve/CVE-2025-69873
- https://bugzilla.redhat.com/show_bug.cgi?id=2439070
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-69873.json