{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "8.1.0-NA"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "945d07c5d5c7a1ae212f6013adfb187f2de24b23"
            }
          ],
          "repo": "https://github.com/pingcap/tidb",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "PingCAP TiDB v8.1.0 was discovered to contain a buffer overflow via the component (*Column).GetDecimal. This allows attackers to cause a Denial of Service (DoS) via a crafted input to the 'RemoveUnnecessaryFirstRow', it will check the expression between 'Agg' and 'GroupBy', but does not check the return type. NOTE: PingCAP disputes this, arguing that reproduction did not cause the security impact of service interruption to other users. They maintain it is a complex query bug in the product but not a DoS.",
  "id": "CVE-2024-41434",
  "modified": "2026-03-10T21:49:27.510615194Z",
  "published": "2024-09-03T20:15:07.573Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://gist.github.com/ycybfhb/4aa6809695b9e8a1cd1429e597c17517"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/pingcap/tidb/issues/53733"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ]
}