CVE-2026-16651

temporalio/sqlparser malformed MySQL version comments can cause a panic

  • High 8.7

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.

Key facts

Published
21 Sep 2026
Last changed
21 Sep 2026
Assigned by
Temporal
EPSS
0.532% likely to be exploited in the next 30 days, higher than 45.528% of CVEs (scores for 16 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: yes; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 8.7CVSS 4.0, Highfrom the CNA (Temporal)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
  • 7.1CVSS 4.0, Highfrom the CNA (Temporal)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

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
Temporal Technologies, Inc.temporalio/sqlparser
  • Default status: unaffected
  • 0.0.0-20180604150908-b055e9c9b4fa up to but excluding 0.0.0-20260721183040-74181ffcbaaf (affected)
Temporal Technologies, Inc.Temporal Server
  • Default status: unaffected
  • 1.29.0 up to and including 1.29.7 (affected)
  • 1.30.0 up to but excluding 1.30.7 (affected)
  • 1.31.0 up to but excluding 1.31.3 (affected)

Timeline

  1. 21 Sep 2026 Published

Weakness

References