Description
IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.4 is vulnerable to a trap when compiling a specially crafted statements containing subqueries could lead to a denial of service.
Published: 2026-07-17
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A trap is triggered during the compilation of specially crafted SQL statements that contain subqueries, causing the Db2 engine to enter a non‑responsive state and resulting in a denial of service. The weakness is classified as CWE‑835, an infinite loop or trap condition, and leads to loss of availability for any application that depends on the affected Db2 instance.

Affected Systems

IBM Db2 database engines are affected. Versions 11.5.0 through 11.5.9 and 12.1.0 through 12.1.4 on any modpack level are vulnerable unless the interim fixes are applied.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, while the EPSS score of less than 1 % suggests a low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires submitting a crafted SQL statement that contains subqueries; if the statement is compiled, the trap activates and the database becomes unresponsive until manual intervention or a restart. Based on the description, the likely attack vector is through any interface that accepts SQL commands, such as remote client connections or embedded application queries.

Generated by OpenCVE AI on July 30, 2026 at 23:44 UTC.

Remediation

Vendor Solution

Customers running any vulnerable modpack 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, and V12.1.4. They can be applied to any affected level of the appropriate release to remediate this vulnerability. ReleaseFixed in mod packAPARDownload URL V11.5 TBD https://www.ibm.com/support/pages/node/7087189 V12.1 12.1.5 https://www.ibm.com/support/pages/node/7267513 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.


Vendor Workaround

Ensure that the query is applying the predicates as intended.


OpenCVE Recommended Actions

  • Download and apply IBM’s interim special builds V11.5.9 for the 11.5 series and V12.1.4 for the 12.1 series from Fix Central to remediate the trap.
  • If immediate patching is not possible, restrict the execution of queries to those that correctly apply predicates and avoid using subqueries that could trigger the issue.
  • Apply application‑level input validation or query sanitization to reject or neutralize maliciously crafted subqueries before they reach the Db2 engine.

Generated by OpenCVE AI on July 30, 2026 at 23:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 21 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Description IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.4 is vulnerable to a trap when compiling a specially crafted statements containing subqueries could lead to a denial of service.
Title IBM® Db2® is vulnerable to a trap when compiling specially crafted statements containing subqueries could lead to a denial of service
First Time appeared Ibm
Ibm db2
Weaknesses CWE-835
CPEs cpe:2.3:a:ibm:db2:11.5.0:*:*:*:*:*:*:*
cpe:2.3:a:ibm:db2:11.5.9:*:*:*:*:*:*:*
cpe:2.3:a:ibm:db2:12.1.0:*:*:*:*:*:*:*
cpe:2.3:a:ibm:db2:12.1.4:*:*:*:*:*:*:*
Vendors & Products Ibm
Ibm db2
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: ibm

Published:

Updated: 2026-07-21T02:03:08.521Z

Reserved: 2026-05-04T14:17:26.954Z

Link: CVE-2026-7771

cve-icon Vulnrichment

Updated: 2026-07-21T02:03:04.540Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T23:45:05Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')