CVE-2025-36122: IBM® Db2® is vulnerable to a denial of service with a specially crafted query when stmtheap is set to automatic

Published Apr 30, 2026
·
Updated

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.

Affected Software

10 affected components
IBM DB2>=11.5.0<=11.5.9, >=12.1.0<=12.1.3
IBM Db2 Connect Server>=11.5.0<=11.5.9, >=12.1.0<=12.1.3
IBM IBM® Db2®<=11.5.0 - 11.5.9
IBM IBM® Db2®<=12.1.0 - 12.1.3
IBM Db2 Linux>=11.5.0<=11.5.9
IBM Db2 Unix>=11.5.0<=11.5.9
IBM Db2 Windows>=11.5.0<=11.5.9
IBM Db2 Linux>=12.1.0<=12.1.3
IBM Db2 Unix>=12.1.0<=12.1.3
IBM Db2 Windows>=12.1.0<=12.1.3

Remediation

Information

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.

Event History

Apr 30, 2026
CVE Published
via MITRE·09:48 PM
Data Sourced
via MITRE·09:48 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via IBM·10:03 PM
DescriptionAffected Software
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-36122?

CVE-2025-36122 is a denial of service vulnerability that can severely disrupt the availability of IBM Db2 services.

2

How do I fix CVE-2025-36122?

To mitigate CVE-2025-36122, ensure that the configuration settings for stmtheap are appropriately set and consider upgrading to a patched version of IBM Db2.

3

Who is affected by CVE-2025-36122?

CVE-2025-36122 affects authenticated users of IBM Db2 versions 11.5.0 through 11.5.9 and 12.1.0 through 12.1.3 on Linux, UNIX, and Windows platforms.

4

Can CVE-2025-36122 be exploited remotely?

CVE-2025-36122 requires an authenticated user to exploit the vulnerability, which typically limits the attack surface.

5

What versions of IBM Db2 are vulnerable to CVE-2025-36122?

The vulnerable versions of IBM Db2 regarding CVE-2025-36122 are 11.5.0 through 11.5.9 and 12.1.0 through 12.1.3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203