HIGH 8.3

CVE-2026-62349

TDengine: Off-by-One Buffer Overflow

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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)

ArtifactAffected versionsFixed in
com.taosdata.jdbc » taos-jdbcdriverpreliminary
<= 3.4.1.6< 3.4.1.14
3.4.1.14

Blast radius

1affected artifacts
69affected versions
32dependent artifacts (est.)
294dependent versions

65% of the dependent artifacts (21) still pull an affected version in their latest release.

DepthDependent versions
Direct
223
2 hops
62
3 hops
9

Most used dependents

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

Advisorygithub.com
Advisorygithub.com
Advisorynvd.nist.gov