{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-16651","id":"CVE-2026-16651","title":"temporalio/sqlparser malformed MySQL version comments can cause a panic","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 appli","descriptionLong":"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.","published":"2026-09-21T11:32:44.699Z","updated":"2026-10-28T02:30:59.209300166Z","reserved":"2026-07-22T18:08:54.825Z","status":"Awaiting Analysis","rejected":false,"assigner":"Temporal","metric":{"version":"4.0","score":8.7,"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","rating":"high","source":"Temporal"},"metrics":[{"version":"4.0","score":8.7,"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","rating":"high","source":"Temporal"},{"version":"4.0","score":7.1,"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","rating":"high","source":"Temporal"},{"version":"4.0","score":8.7,"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","rating":"high","source":"temporal.io"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"}],"rating":"high","products":["Temporal Technologies, Inc. temporalio/sqlparser","Temporal Technologies, Inc. Temporal Server"],"affectedProducts":[{"vendor":"Temporal Technologies, Inc.","product":"temporalio/sqlparser","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0.0.0-20180604150908-b055e9c9b4fa","lessThan":"0.0.0-20260721183040-74181ffcbaaf","versionType":"semver"}],"platforms":[]},{"vendor":"Temporal Technologies, Inc.","product":"Temporal Server","defaultStatus":"unaffected","versions":[{"status":"affected","version":"1.29.0","lessThanOrEqual":"1.29.7","versionType":"semver"},{"status":"affected","version":"1.30.0","lessThan":"1.30.7","versionType":"semver"},{"status":"affected","version":"1.31.0","lessThan":"1.31.3","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-129"],"aliases":[],"references":[{"url":"https://github.com/temporalio/sqlparser/pull/5","tags":["patch","fix"]},{"url":"https://github.com/temporalio/sqlparser/commit/74181ffcbaaf0c52faa925f4cf27ed6c0c2be86f","tags":["patch","fix"]},{"url":"https://github.com/temporalio/sqlparser/tree/v0.1.0","tags":["product","web"]},{"url":"https://github.com/temporalio/temporal/pull/11190","tags":["patch","fix"]},{"url":"https://github.com/temporalio/temporal/pull/11090","tags":["patch","fix"]},{"url":"https://github.com/temporalio/temporal/releases/tag/v1.30.7","tags":["release-notes","advisory"]},{"url":"https://github.com/temporalio/temporal/releases/tag/v1.31.3","tags":["release-notes","advisory"]},{"url":"https://pkg.go.dev","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/16xxx/CVE-2026-16651.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16651","tags":["advisory"]},{"url":"https://github.com/temporalio/sqlparser","tags":["package"]},{"url":"https://github.com/temporalio/temporal","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00532,"epssPercentile":0.45731,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-16651","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16651","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-16651","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-16651","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}