CVE-2025-36122 PUBLISHED

IBM® Db2® is vulnerable to a denial of service with a specially crafted query when stmtheap is set to automatic

Assigner: ibm
Reserved: 15.04.2025 Published: 30.04.2026 Updated: 30.04.2026

IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3 for Linux, UNIX and Windows (includes DB2 Connect Server) could allow an authenticated user to cause a denial of service using a specially crafted SQL query due to improper allocation of system resources.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 6.5

Product Status

Vendor IBM
Product Db2
Versions
  • affected from 11.5.0 to 11.5.9 (incl.)
  • affected from 12.1.0 to 12.1.3 (incl.)

Workarounds

set dbm cfg instance_memory to a fixed value

Solutions

Customers running any vulnerable affected level of an affected Program, V11.5, and V12.1, can download the special build containing the interim fix for this issue from Fix Central. These special builds are available based on the most recent level for each impacted release: V11.5.9. They can be applied to any affected level of the appropriate release to remediate this vulnerability.

ReleaseFixed in mod packAPARDownload URLV11.5TBD https://www.ibm.com/support/pages/node/7087189

V12.1

V12.1.4

https://www.ibm.com/support/pages/node/7267513

Note: To apply this fix, it is required to set DB2_STRICT_INSTANCE_MEMORY=ON in addition to installing the above Special Build.

IBM does not disclose key Db2 functionality nor replication steps for a vulnerability to avoid providing too much information to any potential malicious attacker. IBM does not want to enable a malicious attacker with sufficient knowledge to craft an exploit of the vulnerability.

References

Problem Types

  • CWE-770 Allocation of Resources Without Limits or Throttling CWE