CVE-2026-16651 json
temporalio/sqlparser malformed MySQL version comments can cause a panic
published 2026-09-21 49 d ago modified 2026-09-22 47 d ago also EUVD-2026-83891
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
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.
Patch / fix
- Temporal Technologies, Inc. temporalio/sqlparser 0.0.0-20260721183040-74181ffcbaaf
- Temporal Technologies, Inc. Temporal Server 1.30.7, 1.31.3
- github.com/temporalio/sqlparser@74181ff commit
- github.com/temporalio/sqlparser#5 pull request
- github.com/temporalio/temporal#11190 pull request
- github.com/temporalio/temporal#11090 pull request
- github.com/temporalio/temporal/releases/tag/v1.30.7 release
- github.com/temporalio/temporal/releases/tag/v1.31.3 release
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 49 d ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 4.0 | 7.1 | 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 |
| CNA | 4.0 | 8.7 | 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 |
Affected products
- Temporal Technologies, Inc. temporalio/sqlparser
- Temporal Technologies, Inc. Temporal Server
Classification
- Weakness
-
- CWE-129 Improper Validation of Array Index
References
-
github.com
/temporalio/sqlparser/pull/5
patch
-
github.com
/temporalio/sqlparser/commit/74181ffcbaaf0c52faa925f4cf27ed6c0c2be86f
patch
-
github.com
/temporalio/temporal/pull/11190
patch
-
github.com
/temporalio/temporal/pull/11090
patch
-
github.com
/temporalio/sqlparser/tree/v0.1.0
product
-
github.com
/temporalio/temporal/releases/tag/v1.30.7
release-notes
-
github.com
/temporalio/temporal/releases/tag/v1.31.3
release-notes
Sources
- CVE List CVE-2026-16651
- NVD CVE-2026-16651
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.