CVE-2024-31882: IBM Db2 for Linux, UNIX and Windows · Improper Neutralization of Special Elements in Data Query Logic
Affects IBM Db2 for Linux, UNIX and WindowsSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 26 Oct 2026, 09:08 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 14 Aug 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 |
|---|---|---|
| IBM Db2 for Linux, UNIX and Windows | Affected
| Fixed in– |
AI-suggested
1. Monitor IBM’s official security advisories closely and apply patches or updates as soon as they become available for Db2 versions 11.1 and 11.5. 2. Review and harden database configurations to avoid non-default settings that enable this vulnerability, ensuring that SQL query parsing and execution are as restrictive as possible. 3. Enforce strict access controls and multi-factor authentication for all users with database access to reduce the risk of exploitation by low-privilege authenticated users. 4. Implement comprehensive logging and monitoring of SQL queries and database server health to detect unusual or malformed queries and early signs of crashes. 5. Conduct regular security audits and penetration testing focusing on database query handling and injection vectors to identify and remediate weaknesses. 6. Prepare incident response plans specifically addressing database availability incidents to minimize downtime and business impact if exploitation occurs. 7. Segment database servers within the network to limit exposure and contain potential attacks. 8. Educate database administrators and developers about secure coding and query construction practices to prevent injection-related vulnerabilities.
Description
IBM Db2 for Linux, UNIX and Windows (includes Db2 Connect Server) 11.1 and 11.5 is vulnerable to a denial of service, under specific non default configurations, as the server may crash when using a specially crafted SQL statement by an authenticated user. IBM X-Force ID: 287614.