PT-2026-7637

CVE-2025-69873

·

Published

2025-01-01

·

Updated

2026-09-29

Description by

CVSS 4.0
5.5
Medium
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Name of the Vulnerable Software and Affected Versions ajv versions through 8.17.1
Description ajv (Another JSON Schema Validator) is susceptible to Regular Expression Denial of Service (ReDoS) when the $data option is enabled. The pattern keyword accepts runtime data through JSON Pointer syntax ($data reference) and passes it directly to the JavaScript RegExp() constructor without validation. An attacker can inject a malicious regular expression pattern, such as ^(a|a)*$, combined with crafted input, to trigger catastrophic backtracking. A 31-character payload can cause approximately 44 seconds of CPU blocking, with execution time doubling with each additional character. This can lead to a complete denial of service with a single HTTP request against any API utilizing ajv with $data: true for dynamic schema validation. The vulnerable component is the RegExp() constructor used in conjunction with the pattern keyword.
Recommendations Versions prior to 8.17.1 should be used. Disable the $data option when using ajv for schema validation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-2G4F-4PWH-QVX6
CLEANSTART-2026-AD27625
CLEANSTART-2026-BE61221
CLEANSTART-2026-CE10526
CLEANSTART-2026-DV49099
CLEANSTART-2026-GS57401
CLEANSTART-2026-LC05413
CLEANSTART-2026-LI51874
CLEANSTART-2026-NB51079
CLEANSTART-2026-NS67921
CLEANSTART-2026-OW14897
CLEANSTART-2026-OW14933
CLEANSTART-2026-SW34937
CLEANSTART-2026-TZ34913
CLEANSTART-2026-YD31360
ECHO-C323-B788-63CC
RHSA-2026:13512
RHSA-2026:33371
RHSA-2026:6277
Found an issue in the description? Have something to add? Feel free to write us 👾