{"id":"CVE-2026-52746","published":"2026-07-17T18:32:47Z","modified":"2026-08-03T20:50:28Z","title":"JSONata: Malicious inputs to \"$toMillis\" function can cause resource exhaustion","vendor":"jsonata-js","product":"jsonata","tier":"tail","description":{"text":"JSONata is a JSON query and transformation language. Prior to 2.2.0 and 1.8.9, malicious non-matching inputs to the $toMillis function can cause superlinear backtracking in the ISO-8601 validation regex, leading to denial of service in applications that evaluate user-provided JSONata expressions. This issue is fixed in version 2.2.0 and 1.8.9.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00689,"percentile":0.48038,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jsonata-js/jsonata/pull/782","tags":["x_refsource_MISC"]},{"url":"https://github.com/jsonata-js/jsonata/pull/793","tags":["x_refsource_MISC"]},{"url":"https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686","tags":["x_refsource_MISC"]},{"url":"https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b","tags":["x_refsource_MISC"]},{"url":"https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9","tags":["x_refsource_MISC"]},{"url":"https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":9.61},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"jsonata-js","affectedVersions":[{"vendor":"jsonata-js","product":"jsonata","versions":[">= 2.0.0, < 2.2.0","< 1.8.9"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-17T19:44:39.303237Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"jsonata","vulnerableRanges":[">=2.0.0, <2.2.0","<1.8.9"],"patched":["2.2.0","1.8.9"],"from":["GHSA-86vw-mfpg-wwv9"],"provenance":"source"}],"summary":{"text":"A regular expression used for ISO-8601 validation in the $toMillis function of the JSONata JSON query and transformation language (the jsonata package from jsonata-js) can exhibit superlinear backtracking when given crafted non-matching input. An attacker who can get a JSONata expression evaluated by an application, such as one that accepts user-provided expressions, can trigger resource exhaustion and denial of service over the network without authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:16Z"},"euvd":{"id":"EUVD-2026-45253","exploited":false,"provenance":"source"}}