CVE-2024-31881: IBM Db2 for Linux, UNIX and Windows · Unthrottled Resource Allocation
Affects IBM Db2 for Linux, UNIX and WindowsSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 48% 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:HExploitation evidence
Disclosed: evidence found.
CVE published 12 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
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ibmibm/db2pkg:rpm/ibm/db2Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Apply official patches or updates from IBM as soon as they become available to address CVE-2024-31881.
- In the interim, restrict database access to trusted and necessary users only, minimizing the number of authenticated users who can execute queries on columnar tables.
- Implement strict monitoring and alerting on unusual query patterns or resource usage spikes related to columnar tables to detect potential exploitation attempts early.
- Review and enforce least privilege principles for database users, ensuring that only users with a legitimate need can run complex queries on columnar tables.
- Consider deploying query throttling or resource governance features if supported by the Db2 version to limit resource consumption per user or query.
- Conduct regular audits of user accounts and credentials to prevent unauthorized access.
- Prepare incident response plans to quickly recover from potential DoS events, including database restarts and failover procedures.
- Engage with IBM support for guidance and updates regarding patches and mitigation best practices.
Description
IBM Db2 for Linux, UNIX and Windows (includes Db2 Connect Server) 10.5, 11.1, and 11.5 is vulnerable to a denial of service as the server may crash when using a specially crafted query on certain columnar tables by an authenticated user. IBM X-Force ID: 287613.