CVE-2026-62349: CWE-121: Stack-based Buffer Overflow in taosdata TDengine
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.
AI Analysis
Technical Summary
CVE-2026-62349 is a stack-based buffer overflow vulnerability (CWE-121) in the open source time-series database TDengine, specifically in the trimString() function within source/libs/parser/src/parUtil.c. In versions 3.4.1.6 and earlier, the function only verifies one byte of available space before handling SQL escape sequences such as \%, \_, or \x. This insufficient boundary check permits a one-byte out-of-bounds write to the stack buffer tmpTokenBuf. The vulnerability can cause denial of service and may allow remote code execution. The issue is resolved in TDengine version 3.4.1.14.
Potential Impact
Exploitation of this vulnerability can result in denial of service due to memory corruption and potentially remote code execution, as indicated by the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H). The vulnerability affects confidentiality, integrity, and availability to varying degrees.
Mitigation Recommendations
Upgrade TDengine to version 3.4.1.14 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor's versioning information. No additional vendor advisory content is available, so users should apply this official fix promptly.
CVE-2026-62349: CWE-121: Stack-based Buffer Overflow in taosdata TDengine
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.
CVSS v3.1
Score 8.3high
Affected software
pkg:github/taosdata/TDengineRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-62349 is a stack-based buffer overflow vulnerability (CWE-121) in the open source time-series database TDengine, specifically in the trimString() function within source/libs/parser/src/parUtil.c. In versions 3.4.1.6 and earlier, the function only verifies one byte of available space before handling SQL escape sequences such as \%, \_, or \x. This insufficient boundary check permits a one-byte out-of-bounds write to the stack buffer tmpTokenBuf. The vulnerability can cause denial of service and may allow remote code execution. The issue is resolved in TDengine version 3.4.1.14.
Potential Impact
Exploitation of this vulnerability can result in denial of service due to memory corruption and potentially remote code execution, as indicated by the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H). The vulnerability affects confidentiality, integrity, and availability to varying degrees.
Mitigation Recommendations
Upgrade TDengine to version 3.4.1.14 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor's versioning information. No additional vendor advisory content is available, so users should apply this official fix promptly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-13T21:42:50.096Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a57dcf368715ace434afb68
Added to database: 07/15/2026, 19:18:11 UTC
Last enriched: 07/15/2026, 19:32:55 UTC
Last updated: 07/15/2026, 19:58:06 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.