{"schemaVersion":3,"id":"CVE-2026-16651","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"temporalio/sqlparser can panic when Parse, ParseStrictDDL, or ParseNext processes a MySQL version comment whose contents are empty or consist only of one to five decimal digits. ExtractMysqlComment does not check the -1 result returned by strings.IndexFunc before using it as a slice boundary. The resulting Go runtime panic propagates unless the caller recovers it on the parsing goroutine, so applications that parse attacker-controlled SQL can terminate. Temporal Server exposes the affected parser through ListWorkers. When that API is enabled, an authenticated caller with namespace read permission can submit a malformed query that terminates the receiving Matching process. Repeated requests can sustain a denial of service. The issue affects availability only; no confidentiality or integrity impact was identified.","dates":{"published":"2026-09-21T11:32:44.699Z","modified":"2026-09-21T15:32:34.656Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0039,"percentile":0.31659,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-09-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0039,"percentile":0.31659}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0039,"percentile":0.31659}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-129","name":"Improper Validation of Array Index","description":"The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/129.html"}],"affected":[{"vendor":"temporal technologies, inc.","product":"temporal server","name":"Temporal Server","label":"temporal server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.29.0, ≤ 1.29.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.30.0, < 1.30.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.31.0, < 1.31.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.29.0, ≤ 1.29.7 | ≥ 1.30.0, < 1.30.7 | ≥ 1.31.0, < 1.31.3","eol":null,"hubHref":"/vendor/temporal_technologies_inc/temporal_server"},{"vendor":"temporal technologies, inc.","product":"temporalio/sqlparser","name":"temporalio/sqlparser","label":"temporalio/sqlparser","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.0.0-20180604150908-b055e9c9b4fa, < 0.0.0-20260721183040-74181ffcbaaf","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.0-20180604150908-b055e9c9b4fa, < 0.0.0-20260721183040-74181ffcbaaf","eol":null,"hubHref":"/vendor/temporal_technologies_inc/temporaliosqlparser"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/temporalio/sqlparser/pull/5","label":"github.com/temporalio/sqlparser/pull/5","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/temporalio/sqlparser/commit/74181ffcbaaf0c52faa925f4cf27ed6c0c2be86f","label":"github.com/temporalio/sqlparser/commit/74181ffcbaaf0c52faa925f4cf27ed6c0c2be86f","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/temporalio/sqlparser/tree/v0.1.0","label":"github.com/temporalio/sqlparser/tree/v0.1.0","hostname":"github.com","tags":["Product"]},{"url":"https://github.com/temporalio/temporal/pull/11190","label":"github.com/temporalio/temporal/pull/11190","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/temporalio/temporal/pull/11090","label":"github.com/temporalio/temporal/pull/11090","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/temporalio/temporal/releases/tag/v1.30.7","label":"github.com/temporalio/temporal/releases/tag/v1.30.7","hostname":"github.com","tags":["Release Notes"]},{"url":"https://github.com/temporalio/temporal/releases/tag/v1.31.3","label":"github.com/temporalio/temporal/releases/tag/v1.31.3","hostname":"github.com","tags":["Release Notes"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-21T11:32:44.699Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-21T15:32:34.656Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T16:21:03.967Z","stale":false,"partial":false}}