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
- CGA-22q5-7r4f-4xvf
- CGA-2369-h44r-vchr
- CGA-23mx-9wwq-x6g6
- CGA-25pm-p724-g5r5
- CGA-26w6-wvp7-87g5
- CGA-27gq-x9wc-gw67
- CGA-28g3-gjr6-fg54
- CGA-28w6-2gc7-4w9g
- CGA-294v-5fwc-mvgf
- CGA-2c36-h4x3-fh88
- CGA-2cf8-x963-cv74
- CGA-2cfj-v459-rp2h
- CGA-2cfq-3r34-vpqm
- CGA-2f38-cp84-3fxm
- CGA-2f9w-rvxw-7cvw
- CGA-2fw5-rhfp-8jcp
- CGA-2g3q-xcpm-vj6f
- CGA-2j4f-3f28-5gw9
- CGA-2j7j-xp8v-3r4h
- CGA-2mx2-6v4j-7p23
- CGA-2pm5-9jfp-8fh8
- CGA-2q24-6r5g-gx4v
- CGA-2q6c-p5gh-8fpj
- CGA-2qjc-r8vw-x3wg
- CGA-2rmx-f37c-jvr4
- CGA-2vjj-mgp2-3676
- CGA-2wwq-6rf6-4j67
- CGA-338f-p498-6jm6
- CGA-33g5-9w93-v9h8
- CGA-36qp-56jp-pvvr
- CGA-3794-9q94-6f2r
- CGA-3852-hxgc-mqrp
- CGA-3884-gmmx-wxmf
- CGA-392x-f26x-qmfm
- CGA-3949-8g6f-jg73
- CGA-3cg8-p82m-wfhm
- CGA-3f2m-3f22-8j8h
- CGA-3f5c-vmrm-3rr3
- CGA-3f9r-g295-rggf
- CGA-3g55-5766-8mx4
- CGA-3gxg-7gw2-4427
- CGA-3h8f-4758-83pf
- CGA-3j7v-3x8h-q4c6
- CGA-3jcr-8p23-5j34
- CGA-3mhj-q93r-xv25
- CGA-3mhr-p65h-fmr3
- CGA-3qv5-jrr7-f8c9
- CGA-3r2g-28cc-fwp3
- CGA-3rf9-c7rf-4vw2
- CGA-3v46-w6pc-4rpj
- CGA-3x89-23cf-r653
- CGA-3xfh-wqpc-jfrh
- CGA-3xx6-9jjc-6622
- CGA-42r9-g7vx-4789
- CGA-43rc-3363-p54m
- CGA-4485-vc4h-4jfw
- CGA-44v2-c4qg-cp4q
- CGA-472r-2hhr-3ww4
- CGA-478q-r2f5-x98x
- CGA-482w-xwf4-hj6r
- CGA-4844-mgqx-3qfh
- CGA-48x9-3g3x-c77g
- CGA-494f-h34w-ppxr
- CGA-4cwf-j9wh-692j
- CGA-4f2h-xg8v-27v2
- CGA-4fg8-5rrm-3w34
- CGA-4gx7-54j5-j5v4
- CGA-4hjh-r5wh-m3hr
- CGA-4j3j-h2pm-6vw9
- CGA-4mc9-jq5q-898f
- CGA-4px2-qq6w-f6cf
- CGA-4qc3-94f3-3gv3
- CGA-4rrh-7c8r-vx89
- CGA-4rrj-4jw2-m69g
- CGA-4w73-9p84-q627
- CGA-4wxw-jc2h-r9f2
- CGA-4x9q-648g-pf4h
- CGA-53fw-pxm2-48hp
- CGA-53qj-vpv3-r8pv
- CGA-53r9-qpf6-9mmj
- CGA-53vw-pqjg-63pq
- CGA-554r-58xp-ph4w
- CGA-55mx-hgp2-5wpv
- CGA-58m2-5wq3-qgrc
- CGA-59x9-2w2r-w876
- CGA-5chv-6rxm-wfc8
- CGA-5f74-g638-chvj
- CGA-5f8c-36x4-gvg7
- CGA-5f8g-wv2h-hxhf
- CGA-5f9c-954j-pw8m
- CGA-5fhp-42xg-qm5h
- CGA-5fvf-45v5-wvp5
- CGA-5hvw-7p59-j2j7
- CGA-5j79-2fch-hqfm
- CGA-5j8v-v68r-2m53
- CGA-5jrx-4xfj-vpv8
- CGA-5jx7-3fx8-8p77
- CGA-5m22-m2gg-9wmc
- CGA-5p36-v4q3-27j7
- CGA-5pcx-5rcq-xgqv
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