{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-16651",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-16651",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-09-21T11:32:44.699Z",
    "updatedAt": "2026-09-21T15:32:34.656Z",
    "importedAt": "2026-10-24T01:57:55.771Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "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.",
      "affected": [
        {
          "vendor": "Temporal Technologies, Inc.",
          "product": "temporalio/sqlparser",
          "packageName": "github.com/temporalio/sqlparser",
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0.0.0-20180604150908-b055e9c9b4fa",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "0.0.0-20260721183040-74181ffcbaaf"
            }
          ]
        },
        {
          "vendor": "Temporal Technologies, Inc.",
          "product": "Temporal Server",
          "packageName": "go.temporal.io/server",
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1.29.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "1.29.7"
            },
            {
              "version": "1.30.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "1.30.7"
            },
            {
              "version": "1.31.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "1.31.3"
            }
          ]
        }
      ]
    }
  }
}