Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated Db2 session (PR:L)
-
ExploitCraft malicious query against Materialized Query Table
-
ExecutionTrigger stack buffer overflow (CWE-121)
-
ImpactCrash Db2 engine, deny service (A:H)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) a valid authenticated Db2 connection with a low-privileged account (PR:L) and (2) the ability to execute a query that references or operates on a Materialized Query Table (MQT) - the MQT code path is the specific feature that triggers the stack-based buffer overflow. Affected builds are Db2 11.5.0 through 11.5.9 and 12.1.0 through 12.1.5. Limiting factors that reduce real-world risk: no anonymous/unauthenticated path (credentials or a trusted application account are needed), impact is confined to denial of service (no data disclosure or modification), and the vendor-assigned AV:L implies local reachability - though the query-execution nature suggests any authenticated network client submitting the crafted MQT query may suffice, which should be confirmed with IBM. |
| Impact | This is a moderate-severity, availability-only issue that should be treated as a patch-management item rather than an emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5) describes a locally-reachable, low-complexity flaw that requires an authenticated low-privileged account (PR:L) and yields only a denial-of-service (A:H) with no confidentiality or integrity impact. No EPSS score, CISA KEV listing, SSVC decision data, or public proof-of-concept was provided, so there is no public exploit identified at time of analysis and no evidence of active or automatable exploitation. Note a signal conflict worth verifying with the vendor: the vector asserts AV:L (local), yet the description describes triggering the fault by 'executing a specially crafted query,' which in Db2 is normally done by a database user over a client/network session - this suggests the practical attack surface may be network-reachable to any authenticated DB user rather than strictly local. CWE-121 (stack-based buffer overflow) raises the theoretical possibility of memory corruption, but IBM scored impact as A:H only (no C/I), so the realistic outcome is a crash/DoS of the Db2 instance, not code execution - do not escalate this to RCE absent vendor confirmation. Bottom line: a genuine but bounded operational-availability risk requiring existing authenticated access, best scheduled into normal patch cycles unless the Db2 instance is multi-tenant or exposed to low-trust query users. |
| Exploit ScenarioDerived | An authenticated low-privileged Db2 user (or a compromised application account with query access) submits a specially crafted query involving a Materialized Query Table, triggering a stack-based buffer overflow that crashes the database engine and denies service to all connected applications. No public exploit code is known, and because only availability is affected, the impact is an outage rather than data theft or code execution. Exploitation requires a valid database connection, limiting it to insiders or attackers who have already obtained credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 12, 2026
Denial of service in IBM Db2 11.5.0 through 11.5.9 and 12.1.0 through 12.1.5 can be triggered by an authenticated, low-privileged user (PR:L) submitting a specially crafted query that references a Materialized Query Table, causing a stack-based buffer overflow (CWE-121) that crashes the database engine. IBM has released a patch; no public exploit identified at time of analysis, and impact is limited to availability with no data disclosure or modification. Note that IBM's CVSS vector indicates local access (AV:L), while the query-execution nature suggests a remote authenticated client may be able to trigger the flaw, pending confirmation with the vendor.
RemediationAI
Apply the patch from IBM's advisory (https://www.ibm.com/support/pages/node/7291614); the advisory specifies the appropriate fix pack for Db2 11.5.x and 12.1.x, and upgrading to the latest fix pack for your release is recommended (exact patched version not detailed in the provided data). No vendor-released workaround is listed, so if patching must be deferred, restrict the ability to execute queries against Materialized Query Tables to trusted accounts only (revoke CREATE or QUERY privileges on MQTs from low-privileged users, or audit MQT usage) as a compensating control, recognizing that this may degrade performance for applications that rely on MQTs for query optimization. Monitor database logs for abnormal terminations and consider isolating sensitive instances until patched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
IBM Db2 includes Materialized Query Tables (MQTs), which are precomputed result sets used to accelerate complex queries by storing derived data. The vulnerability is a stack-based buffer overflow (CWE-121) in the code path that processes a query referencing an MQT: insufficient bounds checking on a fixed-size stack buffer allows an oversized input to overwrite adjacent stack memory, leading to a crash (availability impact only). The CPE string cpe:2.3:a:ibm:db2:*:*:*:*:*:*:*:* confirms IBM Db2 as the affected product, and exploitability requires a valid database connection with low privileges (PR:L) plus the ability to issue queries that reach the MQT optimizer or handler. The CVSS vector from IBM indicates AV:L, but the query-based trigger implies that any authenticated client that can submit the crafted query-potentially over the network-may be able to exploit it; the discrepancy should be resolved with IBM.
Know when Db2 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
A crafted Db2 query is normally run over an authenticated client session, so AV:N/PR:L (diverging from the vendor's AV:L); impact is DoS only, hence C:N/I:N/A:H.
Primary rating from Vendor (ibm).
CVSS VectorVendor: ibm
DescriptionCVE.org
IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.5 is vulnerable to a denial of service when executing a specially crafted query with a Materialized Query Table
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Stack-based buffer overflow in the SQL/PSM (aka SQL Persistent Stored Module) Stored Procedure (SP) infrastructure in IB
IBM DB2 for Linux, UNIX and Windows 9.2, 10.1, 10.5, and 11.1 (includes DB2 Connect Server) is vulnerable to a stack-bas
Stack-based buffer overflow in IBM DB2 9.7 through FP9a, 9.8 through FP5, 10.1 through FP4, and 10.5 before FP4 on Linux
IBM DB2 9.5 uses world-writable permissions for nodes.reg, which has unspecified impact and attack vectors. Rated critic
Remote code execution in IBM Db2 11.5.0-11.5.9 and 12.1.0-12.1.4 lets unauthenticated network attackers run arbitrary co
Privilege escalation in IBM Db2 (data server versions 11.5.0-11.5.9 and 12.1.0-12.1.5) allows an attacker to submit a sp
Memory-corruption in IBM Db2's IXF file IMPORT parser lets an attacker supply a crafted IXF data file that overflows a s
Stack-based buffer overflow in the Java Stored Procedure infrastructure in IBM DB2 9.1 before FP12, 9.5 through FP9, 9.7
Directory traversal vulnerability in the UTL_FILE module in IBM DB2 and DB2 Connect 10.1 before FP1 on Windows allows re
IBM GSKit (IBM DB2 for Linux, UNIX and Windows 9.7, 10.1, 10.5, and 11.1) duplicates the PRNG state across fork() system
Integer signedness error in the db2dasrrm process in the DB2 Administration Server (DAS) in IBM DB2 9.1 through FP11, 9.
The Stored Procedure infrastructure in IBM DB2 9.5, 9.7 before FP9a, 10.1 before FP3a, and 10.5 before FP3a on Windows a
EUVD-2026-97784
GHSA-472v-43c8-h6m2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB