CVE-2023-40687
IBM Db2 vulnerability analysis and mitigation

Overview

IBM DB2 for Linux, UNIX and Windows (includes Db2 Connect Server) versions 10.5, 11.1, and 11.5 was identified with a vulnerability that could lead to denial of service attacks. The vulnerability, tracked as CVE-2023-40687, was discovered and disclosed in December 2023. The issue specifically affects systems running DB2 when processing RUNSTATS commands on tables of 8TB or larger (IBM Advisory).

Technical details

The vulnerability has received a CVSS v3.1 Base Score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. A separate assessment by IBM Corporation assigned a CVSS score of 5.3 MEDIUM with the vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. The vulnerability is related to improper input validation (CWE-20) when processing RUNSTATS commands on large database tables (NVD).

Impact

When successfully exploited, this vulnerability can result in a denial of service condition affecting the availability of the DB2 database system. The attack specifically impacts systems when processing RUNSTATS commands on tables that are 8TB or larger in size (IBM Advisory).

Mitigation and workarounds

IBM has released special builds containing interim fixes for affected versions. These builds are available based on the most recent fixpack levels: V10.5 FP11, V11.1.4 FP7, and V11.5.9. The fixes can be applied to any affected fixpack level of the appropriate release to remediate this vulnerability. No workarounds have been identified for this vulnerability (IBM Advisory).

Additional resources


SourceThis report was generated using AI

Related IBM Db2 vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-36186HIGH7.8
  • IBM Db2IBM Db2
  • cpe:2.3:a:ibm:db2
NoNoNov 07, 2025
CVE-2025-36008MEDIUM6.5
  • IBM Db2IBM Db2
  • cpe:2.3:a:ibm:db2
NoYesNov 07, 2025
CVE-2025-36185MEDIUM5.5
  • IBM Db2IBM Db2
  • cpe:2.3:a:ibm:db2
NoNoNov 07, 2025
CVE-2025-36136MEDIUM5.5
  • IBM Db2IBM Db2
  • cpe:2.3:a:ibm:db2
NoYesNov 07, 2025
CVE-2025-36131MEDIUM4.6
  • IBM Db2IBM Db2
  • cpe:2.3:a:ibm:db2
NoYesNov 07, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management