← Back to CVE Explorer

CVE-2026-62349

Full vulnerability record from the local CVENow database.

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.

Severity
HIGH
CVSS score
8.3 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-15 19:18:37.347000
Last modified
2026-10-24 21:10:00.130000
View original CVE JSON
{
  "id": "CVE-2026-62349",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-15T19:18:37.347",
  "lastModified": "2026-10-24T21:10:00.130",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "TDengine es una base de datos de series temporales de código abierto optimizada para dispositivos de internet de las cosas. En 3.4.1.6 y anteriores, source/libs/parser/src/parUtil.c trimString() verifica espacio para solo un byte antes de procesar las secuencias de escape de cadena SQL \\%, \\_, o \\x, permitiendo una escritura fuera de límites de un byte en el búfer de pila tmpTokenBuf que puede causar denegación de servicio y potencialmente ejecución remota de código. Este problema está solucionado en la versión 3.4.1.14."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "taosdata",
          "product": "TDengine",
          "versions": [
            {
              "version": "< 3.4.1.14",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H",
          "baseScore": 8.3,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "LOW",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 5.5
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-15T19:30:40.997887Z",
          "id": "CVE-2026-62349",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-121"
        },
        {
          "lang": "en",
          "value": "CWE-787"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/taosdata/TDengine/security/advisories/GHSA-4v5h-fxjw-vrmq",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/taosdata/TDengine/security/advisories/GHSA-4v5h-fxjw-vrmq",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}