
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-7771 is a denial-of-service vulnerability in IBM Db2 caused by a trap condition triggered when the database compiler processes specially crafted SQL statements containing subqueries. It affects IBM Db2 versions 11.5.0 through 11.5.9 and 12.1.0 through 12.1.4 on Linux, Unix, and Windows platforms. The vulnerability was published on July 17, 2026, with a patch made available by IBM on July 14, 2026. It carries a CVSS v3.1 base score of 5.5 (Medium) (IBM Advisory, GitHub Advisory).
The root cause is classified as CWE-835 (Loop with Unreachable Exit Condition / Infinite Loop), where the Db2 SQL compiler enters an unrecoverable state when processing certain subquery constructs, causing a trap and subsequent service crash. The attack vector is local, requiring user interaction but no privileges, meaning an attacker must be able to submit SQL statements to the database — for example, through a local session or an application that passes user-supplied queries to Db2. The low attack complexity suggests the malicious SQL construct is relatively straightforward to craft once the triggering pattern is known (IBM Advisory, GitHub Advisory).
Successful exploitation results in a high availability impact: the Db2 database service crashes, rendering it unavailable to legitimate users and applications. There is no confidentiality or integrity impact — the vulnerability is purely a denial-of-service condition. Organizations relying on Db2 for critical workloads could experience unplanned downtime until the service is restarted or the system is patched (IBM Advisory, GitHub Advisory).
db2diag.log) showing trap or crash entries during SQL compilation, particularly referencing subquery processing errors or internal compiler faults.db2sysc) following submission of complex SQL statements.IBM has released a patch addressing this vulnerability, available via the IBM support page (node/7279480), covering affected versions 11.5.0–11.5.9 and 12.1.0–12.1.4. Administrators should apply the patch immediately. As interim mitigations, restrict local access to Db2 systems to trusted users only, implement input validation and monitoring for unusual SQL statements containing complex subqueries, and monitor system and Db2 diagnostic logs for compilation errors or unexpected service crashes (IBM Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."