{"id":"CVE-2026-16651","aliases":["CVE-2026-16651"],"related":[],"kind":"vulnerability","state":"published","title":"temporalio/sqlparser malformed MySQL version comments can cause a panic","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-21T11:32:44.699Z","modified":"2026-09-22T19:40:05.870Z","severity":{"scorer":"Temporal","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"Temporal","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"Temporal","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-20180604150908-b055e9c9b4fa","fixed":"0.0.0-20260721183040-74181ffcbaaf","status":"affected"}],"vendor":"Temporal Technologies, Inc.","product":"temporalio/sqlparser","package":"github.com/temporalio/sqlparser","repo":"https://github.com/temporalio/sqlparser","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.29.0","lastAffected":"1.29.7","status":"affected"},{"type":"semver","introduced":"1.30.0","fixed":"1.30.7","status":"affected"},{"type":"semver","introduced":"1.31.0","fixed":"1.31.3","status":"affected"}],"vendor":"Temporal Technologies, Inc.","product":"Temporal Server","package":"go.temporal.io/server","cpe":"cpe:2.3:a:temporal:temporal:*:*:*:*:*:*:*:*","repo":"https://github.com/temporalio/temporal","source":"cvelist"}],"references":[{"url":"https://github.com/temporalio/sqlparser/pull/5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/temporalio/sqlparser/commit/74181ffcbaaf0c52faa925f4cf27ed6c0c2be86f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/temporalio/sqlparser/tree/v0.1.0","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/temporalio/temporal/pull/11190","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/temporalio/temporal/pull/11090","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/temporalio/temporal/releases/tag/v1.30.7","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/temporalio/temporal/releases/tag/v1.31.3","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["An external security researcher who reported this issue responsibly to Temporal Technologies"],"assigner":"Temporal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-21T15:32:17.328Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-16651","url":"https://www.cve.org/CVERecord?id=CVE-2026-16651","licence":"CVE Terms of Use","modified":"2026-09-21T15:32:34.656Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-16651","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16651","licence":"Public domain","modified":"2026-09-22T19:40:05.870Z"}],"updatedAt":"2026-11-25T22:59:40.317Z","epss":{"score":0.0039,"percentile":0.35237,"date":"2026-12-01T12:00:22.000Z"}}