{"id":"CVE-2026-62349","state":"PUBLISHED","title":"TDengine: Off-by-One Buffer Overflow","description":"TDengine is an open source, time-series database optimized for Internet of Things devices. In 3.4.1.6 and earlier, source/libs/parser/src/parUtil.c trimString() checks space for only one byte before processing SQL string escape sequences \\%, \\_, or \\x, allowing a one-byte out-of-bounds write to the stack buffer tmpTokenBuf that can cause denial of service and potentially remote code execution. This issue is fixed in version 3.4.1.14.","publishedAt":"2026-07-15T18:55:07.774Z","updatedAt":"2026-07-15T19:37:03.649Z","severity":{"score":8.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["taosdata TDengine"],"affected":[{"vendor":"taosdata","product":"TDengine","versions":[{"version":"< 3.4.1.14","status":"affected"}]}],"references":["https://github.com/taosdata/TDengine/security/advisories/GHSA-4v5h-fxjw-vrmq"],"weaknesses":["CWE-121","CWE-787"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/62xxx/CVE-2026-62349.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-62349","state":"PUBLISHED","datePublished":"2026-07-15T18:55:07.774Z","dateUpdated":"2026-07-15T19:37:03.649Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-13T21:42:50.096Z"},"containers":{"cna":{"title":"TDengine: Off-by-One Buffer Overflow","descriptions":[{"lang":"en","value":"TDengine is an open source, time-series database optimized for Internet of Things devices. In 3.4.1.6 and earlier, source/libs/parser/src/parUtil.c trimString() checks space for only one byte before processing SQL string escape sequences \\%, \\_, or \\x, allowing a one-byte out-of-bounds write to the stack buffer tmpTokenBuf that can cause denial of service and potentially remote code execution. This issue is fixed in version 3.4.1.14."}],"affected":[{"vendor":"taosdata","product":"TDengine","versions":[{"version":"< 3.4.1.14","status":"affected"}]}],"references":[{"url":"https://github.com/taosdata/TDengine/security/advisories/GHSA-4v5h-fxjw-vrmq","name":"https://github.com/taosdata/TDengine/security/advisories/GHSA-4v5h-fxjw-vrmq","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"CWE-121: Stack-based Buffer Overflow","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-15T18:55:07.774Z"},"source":{"advisory":"GHSA-4v5h-fxjw-vrmq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/taosdata/TDengine/security/advisories/GHSA-4v5h-fxjw-vrmq","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T19:30:40.997887Z","id":"CVE-2026-62349","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T19:37:03.649Z"}}]}}}