Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
ajv.js ajv < 6.14.0, 7.0.0 – < 8.17.2 6.14.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-ajv 8.18.0~ds+~cs6.1.1-1 —
Debian 13 node-ajv No fix yet —
Debian 12 node-ajv No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-ajv No fix yet —
Ubuntu 26.04 LTS node-ajv No fix yet —
Ubuntu 25.10 node-ajv No fix yet —
Ubuntu 24.04 LTS node-ajv No fix yet —
Ubuntu 22.04 LTS node-ajv No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-ajv No fix yet —
Ubuntu 18.04 LTS node-ajv No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-apache-cxf +3 3.4.10-4.SP2_redhat_00004.1.el7eap RHSA-2026:33371
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-undertow 2.0.41-8.SP9_redhat_00001.1.el7eap RHSA-2026:33371
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wildfly +4 7.3.18-3.GA_redhat_00001.1.el7eap RHSA-2026:33371
Red Hat Ansible Automation Platform Inside 2 receptor 1.6.4-2.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform Developer 2 receptor 1.6.4-2.el8ap RHSA-2026:13512
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform 2 automation-controller-venv-tower 4.6.28-3.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 automation-gateway-proxy +1 2.5.10-5.el8ap RHSA-2026:13512, RHSA-2026:6277
Red Hat Ansible Automation Platform 2 automation-gateway-server +11 2.5.20260422-2.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 automation-platform-ui 2.6.7-1.el9ap RHSA-2026:6277
Red Hat Ansible Automation Platform 2 python3.12-jwcrypto 1.5.7-1.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 python3.12-markdown 3.10.2-1.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 python3.12-pillow 12.1.1-1.el9ap RHSA-2026:6277
Red Hat Ansible Automation Platform 2 python3.12-pyOpenSSL 26.0.0-1.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 python3.12-pyasn1 0.6.3-1.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 python3.12-pyjwt +1 2.12.1-1.el8ap RHSA-2026:13512
Red Hat Ansible Automation Platform 2 receptor 1.6.4-2.el8ap RHSA-2026:13512

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling argo-workflows-ui-4.0 4.0.1-r2 —
Wolfi rolling eslint 10.0.2-r0 —
Wolfi rolling jupyter-base-notebook 7.6.3-r2 —
Wolfi rolling katib-earlystopping +8 0.19.0-r31 —
Wolfi rolling katib-suggestion-goptuna-compat 0.19.0-r40 —
Wolfi rolling kubeflow-centraldashboard 1.10.0-r12 —
Wolfi rolling kubeflow-pipelines-frontend 2.15.0-r12 —
Wolfi rolling langfuse-3 +1 3.155.1-r2 —
Wolfi rolling opensearch-dashboards-3 +1 3.5.0-r5 —
Wolfi rolling prism 5.14.3-r7 —
Wolfi rolling py3.10-jupyterlab +3 4.6.1-r1 —
Wolfi rolling renovate 43.38.0-r1 —
Wolfi rolling saf 1.6.0-r0 —
Wolfi rolling serve 14.2.6-r0 —
Wolfi rolling sqlpad 7.5.7-r28 —
Wolfi rolling tileserver-gl 5.5.0-r5 —
Wolfi rolling vitess-23 23.0.2-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
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

Advisories 7

References