CVE-2026-62349
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.taosdata.jdbc » taos-jdbcdriverpreliminary | <= 3.4.1.6< 3.4.1.14 | 3.4.1.14 |
Blast radius
65% of the dependent artifacts (21) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 223 |
| 2 hops | 62 |
| 3 hops | 9 |
Most used dependents
- com.mqttsnet.basic » thinglinks-databases6 usages
- com.iteaj » iot-taos2 usages
- com.mqttsnet.basic » thinglinks-boot2 usages
- com.mqttsnet.basic » thinglinks-condition-starter2 usages
- com.mqttsnet.basic » thinglinks-mvc2 usages
- io.github.webbabyking » wang-iot-taos2 usages
- io.edurt.datacap » datacap-jdbc-tdengine1 usages
- io.github.veigara » tdengine-api1 usages
- io.github.veigara » tdengine-core1 usages
- io.edurt.datacap.plugin.jdbc » datacap-plugin-jdbc-tdengine1 usages
- io.github.bestdata-chi » ts-oss-tdengine1 usages
- io.github.webbabyking » wang-iot-spring-boot-starter1 usages
- io.github.mmstarry » spring-boot-multi-source0 usages
- com.wgzhao.addax » tdenginereader0 usages
- com.wgzhao.addax » tdenginewriter0 usages
Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-62349 | github.com |
| Advisory | taosdata/TDengine advisory GHSA-4v5h-fxjw-vrmq | github.com |
| Advisory | NVD CVE-2026-62349 | nvd.nist.gov |
