CVE-2024-37820: PingCAP TiDB · NULL Pointer Dereference
Source CVE Database V5
Not known to be exploited · CVSS 5.4 Medium.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% 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:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 25 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
AI-suggested
To mitigate CVE-2024-37820, organizations should first verify if their TiDB deployment uses the affected version (8.2.0-alpha-216-gfe5858b) or similar vulnerable builds. Since no official patches are currently available, consider upgrading to a stable, non-alpha TiDB release that does not contain this vulnerability once released. In the interim, restrict network access to TiDB instances by implementing strict firewall rules and network segmentation to limit exposure to untrusted users. Enforce the principle of least privilege by ensuring that only authorized users have the necessary permissions to execute expressions or queries that could trigger the vulnerability. Monitor TiDB logs and system behavior for unusual crashes or restarts that may indicate exploitation attempts. Additionally, engage with PingCAP support or community channels for updates on patches or workarounds. Implementing robust backup and recovery procedures will help mitigate potential data loss from unexpected crashes. Finally, consider deploying application-layer protections such as query validation or rate limiting to reduce the risk of malicious query injection.
Description
A nil pointer dereference in PingCAP TiDB v8.2.0-alpha-216-gfe5858b allows attackers to crash the application via expression.inferCollation.