Skip to main content
VulnerabilityPublished Updated

CVE-2024-41434: tidb · Uncontrolled Resource Consumption

Affects tidbSource CVE Database V5

0

Not known to be exploited · CVSS 4.3 Medium.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Sep 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubpingcap/tidbpkg:github/pingcap/tidbOther threatsAffected
  • =8.1.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-41434, organizations should first monitor official PingCAP communications for patches or updates addressing this vulnerability and apply them promptly once available. Until a patch is released, restrict access to TiDB query interfaces to trusted users only, minimizing exposure to potentially malicious crafted queries. Implement strict input validation and query whitelisting where possible to prevent malformed or complex queries that could trigger the vulnerability. Employ network segmentation and firewall rules to limit access to TiDB servers, especially from untrusted networks. Monitor TiDB logs and system metrics for unusual crashes or resource exhaustion symptoms indicative of exploitation attempts. Consider deploying query throttling or resource limits to reduce the impact of complex queries. Engage with PingCAP support or community forums to stay informed about workarounds or mitigations. Finally, conduct internal security reviews and penetration tests focusing on query handling to identify and remediate related weaknesses.

Description

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.

References

Community reviews

Loading reviews…