CVE-2026-62353

TDengine: Authenticated Out-of-Bounds Read in SQL Lexer tGetToken

Published Jul 15, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
TDengine is a time-series database optimized for Internet of Things devices. Prior to 3.4.1.14, source/libs/parser/src/parTokenizer.c tGetToken() incremented past a trailing backslash in a SQL string literal such as 'abc\ and read one byte beyond the null terminator, allowing an authenticated user who can submit SQL queries to crash the server and possibly leak adjacent memory. This issue is fixed in version 3.4.1.14.

Analysis

AI-generated

Technical impact

TDengine’s SQL lexer function tGetToken increments past a trailing backslash in a string literal, such as 'abc\\', causing a read one byte beyond the string’s null terminator. This out‑of‑bounds read permits an authenticated user who can submit arbitrary SQL statements to crash the database server and, potentially, leak the contents of adjacent memory. The vulnerability does not provide remote code execution but raises risks of denial of service and data leakage for users with write access to the database.

Affected Systems

The vulnerability affects the taosdata TDengine time‑series database. All installations running versions prior to 3.4.1.14 are impacted; the fix is included in 3.4.1.14 and later releases.

Risk and Exploitability

The CVSS score of 5.4 reflects a moderate severity, and the EPSS score of less than 1% indicates that real‑world exploitation is expected to be rare. The issue is not listed in CISA’s KEV catalog. Attackers require authenticated access to submit SQL commands, so only users with database privileges can trigger the crash. Once a target has the ability to run SQL, they could craft a malformed string literal to induce the out‑of‑bounds read and watch for crashes or memory disclosure. While the exploitation path is straightforward, the low probability of widespread use keeps the overall risk moderate.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TDengine to version 3.4.1.14 or later to apply the out‑of‑bounds read fix.
  • Restart the database service so the new version takes effect.
  • Continuously monitor system logs and memory usage for signs of crashes or data leakage.

Generated by OpenCVE AI on July 31, 2026 at 03:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Taosdata
Taosdata tdengine
Vendors & Products Taosdata
Taosdata tdengine
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description TDengine is a time-series database optimized for Internet of Things devices. Prior to 3.4.1.14, source/libs/parser/src/parTokenizer.c tGetToken() incremented past a trailing backslash in a SQL string literal such as 'abc\ and read one byte beyond the null terminator, allowing an authenticated user who can submit SQL queries to crash the server and possibly leak adjacent memory. This issue is fixed in version 3.4.1.14.
Title TDengine: Authenticated Out-of-Bounds Read in SQL Lexer tGetToken
Weaknesses CWE-125
CWE-126
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2026, 7:28 PM
Reserved
Jul 13, 2026, 9:42 PM
Status
Deferred
Published
Jul 15, 2026, 7:18 PM
Modified
Oct 24, 2026, 9:10 PM