Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Db2 user credentials
-
DeliveryEstablish network connection to Db2 instance
-
ExploitCraft malicious SQL query with special elements
-
ExecutionSubmit query for execution
-
PersistTrigger resource exhaustion in query optimizer
-
ImpactCause denial of service to legitimate users
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
|
| Exploitation Conditions | Exploitation requires authenticated database access - the attacker must possess valid database user credentials and network connectivity to the Db2 instance or Db2 Connect Server endpoint. The vulnerability is triggered by submitting specially crafted SQL queries containing improperly neutralized data elements; no user interaction is required beyond submitting the query, and the attack succeeds against default Db2 configurations without requiring non-standard settings or disabled security features. Limiting factors that reduce real-world risk include: (1) authentication requirement prevents unauthenticated remote exploitation, (2) the attacker must understand Db2's query syntax and behavior to craft effective payloads, (3) query logging and connection monitoring can potentially detect suspicious activity if properly configured, and (4) database privilege restrictions (e.g., limiting users to SELECT-only queries) can prevent triggering the vulnerability, though this depends on application design. |
| Impact | This vulnerability presents moderate but real risk within organizational perimeters. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) confirms network accessibility with low attack complexity, but crucially requires authenticated access (PR:L), which significantly limits real-world exposure compared to unauthenticated network vulnerabilities. The 6.5 score reflects high availability impact with no confidentiality or integrity compromise, making this primarily a business continuity concern rather than a data breach risk. The absence of KEV listing, public exploit code, or reported active exploitation suggests this is not being opportunistically weaponized, though insider threats or compromised database user credentials could readily exploit it. Organizations relying on Db2 for critical operations should prioritize patching, particularly if they have elevated privileges granted to application service accounts or if Db2 Connect Server is exposed to untrusted networks. The combination of authenticated-only access and lack of demonstrated exploitation in the wild indicates this is lower priority than network-based DoS vulnerabilities, but the simplicity of crafting query payloads (no special tools required once authenticated) means deployment patches should not be indefinitely delayed. |
| Exploit ScenarioDerived | A disgruntled database developer with standard query execution privileges connects to a production Db2 instance and submits a specially crafted SQL query containing improperly neutralized special characters in the WHERE clause or JOIN conditions, triggering a resource exhaustion condition in the query optimizer or execution engine. The database process consumes CPU and memory abnormally, causing the Db2 service to become unresponsive or crash, rendering dependent applications unable to execute queries and disrupting business operations until the service is manually restarted. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 23, 2026
Authenticated users can trigger a denial of service in IBM Db2 11.5.0-11.5.9 and 12.1.0-12.1.4 for Linux, UNIX, and Windows through improper neutralization of special elements in database query logic, causing service unavailability without requiring user interaction or special configuration. The vulnerability affects both standalone Db2 instances and Db2 Connect Server deployments, with CVSS 6.5 reflecting network accessibility and authenticated access requirements. No public exploit code or active exploitation has been identified at the time of analysis.
RemediationAI
IBM has released patched versions to address this vulnerability; users should upgrade to Db2 11.5.10 or later for the 11.5.x line, or Db2 12.1.5 or later for the 12.1.x line. Both patched versions are available from IBM's support portal (https://www.ibm.com/support/pages/node/7269433). In environments where immediate patching is not feasible, implement database access controls restricting query execution privileges to trusted applications and service accounts only; review and revoke unnecessary database user accounts, particularly those with ALTER, CREATE, or DDL permissions. Configure database connection pooling to include query timeout parameters, limiting the execution window for potentially malicious queries-this does not prevent the attack but reduces impact duration. Monitor query logs for unusual patterns such as excessive sequential table locks, repeated failed query parsing, or abnormal resource consumption spikes, using existing Db2 audit facilities (db2audit, Event Monitor). Note that these compensating controls do not eliminate the vulnerability and should be considered temporary measures pending patch deployment.
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
The vulnerability stems from CWE-1284 (Improper Neutralization of Data Query Logic Elements), which typically involves insufficient input validation or sanitization of query parameters that allows attackers to manipulate database query execution. In Db2's context, this suggests that certain special characters or sequences in SQL queries are not properly escaped or filtered before being processed by the query engine, enabling authenticated users to craft malicious queries that consume excessive resources, lock tables, or trigger internal errors leading to service crash or hang. The issue affects both the database engine itself and Db2 Connect Server, which acts as a middleware for connecting client applications to Db2 instances.
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:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (us) · only source for this CVE.
CVSS VectorVendor: us
DescriptionCVE.org
IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.4 for Linux, UNIX and Windows (includes Db2 Connect Server) could allow an authenticated user to cause a denial of service due to improper neutralization of special elements in data query logic.
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
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-25125
GHSA-chwf-7mw9-8249
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB