CVE-2026-62349 TDengine: Off-by-One Buffer Overflow
An off-by-one buffer overflow in TDengine allows attackers to cause denial of service or potentially execute remote code via crafted SQL escape sequences.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-62349?
CVE-2026-62349 is a high-severity memory corruption vulnerability in taosdata TDengine, published on 15 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-62349?
How do I fix CVE-2026-62349?
No fix has been published for CVE-2026-62349 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-62349 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-62349 exists.
Sources
Also known as GHSA-4v5h-fxjw-vrmq.