{"id":"CVE-2026-52746","summary":"JSONata: Malicious inputs to \"$toMillis\" function can cause resource exhaustion","details":"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.","aliases":["GHSA-86vw-mfpg-wwv9"],"modified":"2026-08-12T03:51:24.930067796Z","published":"2026-07-17T18:32:47.173Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52746.json"},"references":[{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52746.json"},{"type":"ADVISORY","url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52746"},{"type":"FIX","url":"https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686"},{"type":"FIX","url":"https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b"},{"type":"FIX","url":"https://github.com/jsonata-js/jsonata/pull/782"},{"type":"FIX","url":"https://github.com/jsonata-js/jsonata/pull/793"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jsonata-js/jsonata","events":[{"introduced":"0"},{"fixed":"8ee4476f8a228bfc7a62979ae0a9c13a4043cd03"},{"fixed":"80ba95d170f74e3f20f4f36b8b77d8c85cea7686"},{"fixed":"d6ffc17cb16a8e53c222205bd274624e919cce0b"},{"fixed":"006977bebeee9d156b5d8dd4fbf77550df39a8b1"}],"database_specific":{"cpe":"cpe:2.3:a:jsonata:jsonata:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.2.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.8.8","v1.8.7","v2.1.1","v2.1.0","v2.0.6","v2.0.5","v1.8.6","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.0","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5","v1.4.1","v1.4","v1.3.3","v1.3.2","v1.3.1","v1.3","v1.2.6","v1.2.5","v1.2.4","v1.2.2","v1.2.1","v1.2","v1.1.1","v1.1","v1.0.10","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52746.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}