Inefficient regular expression complexity in JSONata - #VU170714

 

Inefficient regular expression complexity in JSONata - #VU170714

Published: November 27, 2026


Vulnerability identifier: #VU170714
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by exhausting CPU, memory, or stack resources.

The vulnerability exists due to excessive regular expression backtracking in $toMillis and unbounded memory allocation or recursion in $fromMillis when processing date/time picture strings. A remote attacker can supply a crafted picture string directly or through a user-provided JSONata expression to exhaust application resources.


Affected software

JSONata

Remediation

Install security update from vendor's website.

JSONata - addressed in versions 1.8.11, 2.3.0

External References

Related Security Bulletins