# CVE-2025-69873: ajv has ReDoS when using `$data` option

- Severity: Low 2.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-02)
- Published: 2026-02-11T00:00:00.000Z
- Modified: 2026-09-14T12:04:32.717Z
- Also known as: GHSA-2g4f-4pwh-qvx6
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- ajv.js ajv: before 6.14.0; from 7.0.0 before 8.17.2
- automation-gateway: no versions given (not affected: from 0:2.5.20260422-2.el8ap before *; from 0:2.5.20260422-2.el9ap before *)
- automation-platform-ui: no versions given (not affected: from 0:2.6.7-1.el9ap before *)
- eap7-wildfly: no versions given (not affected: from 0:7.3.18-3.GA_redhat_00001.1.el7eap before *)
- network-observability/network-observability-console-plugin-compat-rhel9: no versions given (not affected: from 1778508956 before *)
- ansible-automation-platform-26/gateway-rhel9: no versions given (not affected: from 1774243862 before *)
- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1776784286 before *; from 1775140647 before *)
- rhem/flightctl-ui-ocp-rhel9: no versions given (not affected: from 1783502765 before *; from 1784126822 before *)
- rhem/flightctl-ui-rhel9: no versions given (not affected: from 1783502438 before *; from 1784127736 before *)
- rhem/flightctl-ui-ocp-rhel10: no versions given (not affected: from 1784194938 before *)
- rhem/flightctl-ui-rhel10: no versions given (not affected: from 1784194574 before *)
- rhoai/odh-dashboard-rhel8: no versions given (not affected: from 1774282136 before *)
- rhoai/odh-dashboard-rhel9: no versions given (not affected: from 1779189627 before *)
- rhoai/odh-mod-arch-gen-ai-rhel9: no versions given (not affected: from 1778473763 before *)
- rhoai/odh-mod-arch-model-registry-rhel9: no versions given (not affected: from 1778666987 before *)
- openshift4/ose-monitoring-plugin-rhel8: no versions given (not affected: from 1778036641 before *; from 1777994844 before *)
- openshift4/ose-monitoring-plugin-rhel9: no versions given (not affected: from 1774452649 before *; from 1774474908 before *; from 1776675872 before *)
- odf4/cephcsi-rhel9: no versions given (not affected: from 1783676191 before *; from 1783684360 before *; from 1783667125 before *)
- odf4/cephcsi-rhel9-operator: no versions given (not affected: from 1783929816 before *; from 1783684068 before *; from 1783666755 before *)
- odf4/mcg-core-rhel9: no versions given (not affected: from 1784094353 before *; from 1784054582 before *; from 1784054598 before *)
- odf4/mcg-rhel9-operator: no versions given (not affected: from 1784093953 before *; from 1784054606 before *; from 1784055387 before *)
- odf4/ocs-client-console-rhel9: no versions given (not affected: from 1784094943 before *; from 1784055295 before *; from 1784055726 before *)
- odf4/ocs-client-rhel9-operator: no versions given (not affected: from 1783676585 before *; from 1783684603 before *; from 1783667517 before *)
- odf4/ocs-metrics-exporter-rhel9: no versions given (not affected: from 1783676649 before *; from 1783684668 before *; from 1783667577 before *)
- odf4/ocs-rhel9-operator: no versions given (not affected: from 1783676675 before *; from 1783684667 before *; from 1783667611 before *)
- odf4/odf-cli-rhel9: no versions given (not affected: from 1784094299 before *; from 1784054873 before *; from 1784055020 before *)
- odf4/odf-console-rhel9: no versions given (not affected: from 1784094725 before *; from 1784055589 before *; from 1784055586 before *)
- odf4/odf-cosi-sidecar-rhel9: no versions given (not affected: from 1783676820 before *; from 1783684779 before *; from 1783667790 before *)
- odf4/odf-csi-addons-rhel9-operator: no versions given (not affected: from 1783676883 before *; from 1783684831 before *; from 1783667859 before *)
- odf4/odf-csi-addons-sidecar-rhel9: no versions given (not affected: from 1783676894 before *; from 1783684839 before *; from 1783667875 before *)
- odf4/odf-multicluster-console-rhel9: no versions given (not affected: from 1784095175 before *; from 1784055533 before *; from 1784055576 before *)
- odf4/odf-multicluster-rhel9-operator: no versions given (not affected: from 1783676977 before *; from 1784055558 before *; from 1784055244 before *)
- odf4/odf-must-gather-rhel9: no versions given (not affected: from 1784093503 before *; from 1784056134 before *; from 1784055382 before *)
- odf4/odf-rhel9-operator: no versions given (not affected: from 1783677297 before *; from 1783685128 before *; from 1783668266 before *)
- odf4/odr-rhel9-operator: no versions given (not affected: from 1783677345 before *; from 1783685129 before *; from 1783668288 before *)
- odf4/rook-ceph-rhel9-operator: no versions given (not affected: from 1783677533 before *; from 1783685375 before *; from 1783669219 before *)
- odf4/odf-cloudnative-pg-rhel9-operator: no versions given (not affected: from 1783684707 before *; from 1783667641 before *)
- odf4/odf-external-snapshotter-rhel9-operator: no versions given (not affected: from 1783667869 before *)
- odf4/odf-external-snapshotter-sidecar-rhel9: no versions given (not affected: from 1783667877 before *)
- devspaces/code-rhel9: no versions given (not affected: from 1774448966 before *)
- devspaces/dashboard-rhel9: no versions given (not affected: from 1774476526 before *)
- quay/quay-rhel8: no versions given (not affected: from 1775512163 before *; from 1775169219 before *; from 1773936323 before *)
- quay/quay-rhel9: no versions given (not affected: from 1775069491 before *; from 1775169226 before *)
- satellite/iop-remediations-rhel9: no versions given (not affected: from 1781247025 before *)
- satellite/iop-advisor-frontend-rhel9: no versions given (not affected: from 1781181673 before *)
- openshift-sandboxed-containers/osc-pccs: no versions given
- ajv: no versions given
- io.cryostat-cryostat: no versions given
- gatekeeper/gatekeeper-rhel9: no versions given
- openshift-logging/elasticsearch6-rhel9: no versions given
- openshift-logging/elasticsearch-operator-bundle: no versions given
- openshift-logging/elasticsearch-proxy-rhel9: no versions given
- openshift-logging/elasticsearch-rhel9-operator: no versions given
- openshift-logging/kibana6-rhel8: no versions given
- openshift-logging/logging-curator5-rhel9: no versions given
- openshift-logging/logging-view-plugin-rhel9: no versions given
- multicluster-engine/console-mce-rhel9: no versions given
- network-observability/network-observability-console-plugin-rhel9: no versions given
- workload-availability/node-healthcheck-must-gather-rhel9: no versions given
- workload-availability/node-healthcheck-operator-bundle: no versions given
- and 70 more: see the JSON

## Every score

- mitre: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/advisories/GHSA-2g4f-4pwh-qvx6> (advisory)
- <https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69873-ajv-ReDoS.md> (web)
- <https://github.com/github/advisory-database/pull/6991> (web)
- <https://github.com/ajv-validator/ajv/pull/2588> (web)
- <https://github.com/ajv-validator/ajv/releases/tag/v6.14.0> (web)
- <https://github.com/ajv-validator/ajv/pull/2590> (web)
- <https://access.redhat.com/security/cve/CVE-2025-69873> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2439070> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-69873.json>
- <https://access.redhat.com/errata/RHSA-2026:33371> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13512> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6277> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16874> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6309> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9742> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6802> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36651> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:40945> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:40118> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:5807> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19712> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:15091> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:14774> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:5910> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:5907> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:10093> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6192> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41941> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41944> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:40984> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7314> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6568> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6497> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6567> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:5168> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:26214> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:26211> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-69873> (advisory)
- <https://github.com/ajv-validator/ajv/pull/2586> (web)
- <https://github.com/ajv-validator/ajv/commit/720a23fa453ffae8340e92c9b0fe886c54cfe0d5> (web)
- <https://github.com/ajv-validator/ajv> (package)
- <https://github.com/ajv-validator/ajv/releases/tag/v8.18.0> (web)

## Sources

- CVE List: [CVE-2025-69873](https://www.cve.org/CVERecord?id=CVE-2025-69873), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-2g4f-4pwh-qvx6](https://github.com/advisories/GHSA-2g4f-4pwh-qvx6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-69873](https://nvd.nist.gov/vuln/detail/CVE-2025-69873), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-69873 · Whole record: https://cve.day/CVE-2025-69873.json · Rebuilt by cve.day 2026-11-25T22:59:11.152Z
