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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/taosdata/TDengine/security/advisories/GHSA-4v5h-fxjw-vrmq
Scores
CVSS v3
8.3
EPSS
0.0040
EPSS Percentile
32.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-121
CWE-787
Status
published
Products (1)
taosdata/TDengine
< 3.4.1.14
Published
Jul 15, 2026
Tracked Since
Jul 16, 2026