cve.bz

CVE-2025-69873 ajv.js ajv: Uncontrolled Resource Consumption

2.9 lowEPSS 0.5%Fix available

Low (2.9) in ajv.js ajv. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in ajv 6.14.0, 8.18.0.

On this page
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.

Severity

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-02-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-1333 Inefficient Regular Expression Complexity
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-69873 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-69873?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-69873?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-69873 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ajv.js ajvbefore 6.14.0
ajv.js ajvfrom 7.0.0 before 8.17.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2g4f-4pwh-qvx6npmajv>=7.0.0-alpha.0 <8.18.08.18.0
GHSA-2g4f-4pwh-qvx6npmajv<6.14.06.14.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-ajvno fix listedDEBIAN-CVE-2025-69873
Debian14node-ajv8.18.0~ds+~cs6.1.1-1DEBIAN-CVE-2025-69873
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morenode-ajvno fix listedUBUNTU-CVE-2025-69873
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.28-3.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.5.10-5.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8automation-gateway-server, python3.12-django-ansible-base, python3.12-django-ansible-base+rbac and 9 more0:2.5.20260422-2.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-jwcrypto0:1.5.7-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-markdown0:3.10.2-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyOpenSSL0:26.0.0-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyasn10:0.6.3-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyjwt, python3.12-pyjwt+crypto0:2.12.1-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8receptor0:1.6.4-2.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.28-3.el9apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.6.14-2.el9RHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-gateway-server, python3.12-django-ansible-base, python3.12-django-ansible-base+rbac and 9 more0:2.5.20260422-2.el9apRHSA-2026:13512
12 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this issue, the $data option must be enabled and the attacker needs to be able to send a payload with a specially crafted regular expression to the application processing the input. A 31-character payload causes approximately 44 seconds of execution, with each additional character doubling the execution time. Therefore, even a small payload can cause an application to become unresponsive and eventually result in a denial of service. Due to this reason, this flaw has been rated with an important severity.

Red Hat's mitigation

To mitigate this issue, disable the $data feature if your application does not require it. If $data must be used, implement strict validation of the input fields that are referenced by the pattern keyword to ensure they contain only expected and safe characters.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-gateway-0:2.5.20260422-2.el8apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-gateway-0:2.5.20260422-2.el9apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-platform-ui-0:2.6.7-1.el9apFixed 2026-03-31RHSA-2026:6277
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7eap7-wildfly-0:7.3.18-3.GA_redhat_00001.1.el7eapFixed 2026-06-30RHSA-2026:33371
Network Observability (NETOBSERV) 1.11.0network-observability/network-observability-console-plugin-compat-rhel9:1778508956Fixed 2026-05-13RHSA-2026:16874
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/gateway-rhel9:1774243862Fixed 2026-03-31RHSA-2026:6309
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/gateway-rhel9:1774243862Fixed 2026-04-01RHSA-2026:6404
Red Hat Ceph Storage 9.2rhceph/rhceph-9-rhel10:1790843527Fixed 2026-10-21RHSA-2026:86618
Red Hat Developer Hub 1.8rhdh/rhdh-hub-rhel9:1776784286Fixed 2026-04-22RHSA-2026:9742
Red Hat Developer Hub 1.9rhdh/rhdh-hub-rhel9:1775140647Fixed 2026-04-07RHSA-2026:6802
Confidential Compute Attestationopenshift-sandboxed-containers/osc-pccsWill not fix
Cryostat 4ajvNot affected
Cryostat 4io.cryostat-cryostatNot affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-curator5-rhel9Will not fix
212 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-69873.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON