Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Db2 credentials
-
DeliveryConnect to Db2 instance over network
-
ExploitCraft pathological SQL query
-
ExecutionSubmit query to database engine
-
PersistTrigger resource exhaustion
-
ImpactDatabase becomes unresponsive
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authentication is mandatory-the attacker must possess valid Db2 user credentials with database connection privileges. The vulnerability does not require elevated administrative rights; any authenticated user account (read-only, application service account, analyst) can trigger the denial of service. The specially crafted SQL query must be submitted via a standard SQL interface (JDBC, ODBC, CLI, or native Db2 tools). Default configurations of vulnerable Db2 versions are susceptible; no specific non-default settings are required to enable the vulnerability. The attack is constrained to Db2 versions 11.5.0-11.5.9 and 12.1.0-12.1.3; versions outside this range (11.1, 11.4, 12.2+) are not affected. The impact is availability only-no data exfiltration, modification, or privilege escalation is possible. |
| Impact | CVSS 6.5 with network attack vector and low complexity reflects a moderate but realistic risk: authenticated access is required (PR:L), but the attack surface includes any user with valid database credentials, including application service accounts, read-only analysts, or compromised low-privilege accounts. EPSS data is not provided, but the availability impact (A:H) combined with network-accessible database services makes this operationally disruptive in production environments. The vulnerability does not leak data or enable privilege escalation, which limits strategic impact compared to confidentiality or integrity breaches. However, the lack of a KEV listing and absence of public exploit code suggest this is a lower-priority target for attackers currently focused on remote code execution or authentication bypass vulnerabilities. Real-world risk depends heavily on deployment: internet-facing Db2 instances with broad user provisioning face elevated risk; air-gapped or tightly access-controlled databases face lower risk. Organizations should prioritize this based on threat modeling rather than raw CVSS alone-a denial-of-service vulnerability is critical if the database supports life-critical services (healthcare, financial) but lower priority if used only for batch analytics. |
| Exploit ScenarioDerived | A database administrator's credentials are compromised via phishing. An attacker uses the stolen credentials to connect to a production Db2 instance over the network and submits a specially crafted SQL SELECT query (e.g., a pathological join or subquery) that causes the query optimizer to allocate excessive memory or CPU cycles. Within seconds, the Db2 process becomes unresponsive, and the database becomes unavailable to the application tier, triggering cascading service failures and user-facing outages. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 30, 2026
Denial of service in IBM Db2 11.5.0-11.5.9 and 12.1.0-12.1.3 for Linux, UNIX, and Windows allows authenticated users to crash the database server by submitting a specially crafted SQL query that triggers improper system resource allocation. An attacker with valid database credentials can exhaust resources and render the database unavailable to legitimate users without leaving data corruption or unauthorized access. No public exploit code has been identified, though the vulnerability requires only valid authentication and a standard SQL interface.
RemediationAI
Apply vendor-released patches immediately: upgrade Db2 11.5.x to version 11.5.10 or later, or upgrade Db2 12.1.x to version 12.1.4 or later. Patch details and download links are available at https://www.ibm.com/support/pages/node/7267642. As interim compensating controls pending patching, restrict database user accounts to the principle of least privilege-revoke unnecessary credentials from application service accounts and human users, implement connection-level query timeouts via Db2 configuration parameters (QUERY_TIMEOUT_INTERVAL) to automatically abort long-running queries, and monitor slow query logs for anomalous patterns indicative of resource-exhaustion attempts. Additionally, if Db2 is internet-facing, place it behind a network boundary or VPN and use database-level firewall rules to limit SQL access to trusted application IP ranges. These controls reduce the attacker population and provide detection windows but do not prevent exploitation by legitimate users with malicious intent; patching remains the definitive remediation.
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 is a relational database management system that allocates memory and processing resources to execute SQL queries. The vulnerability resides in the query execution engine's resource management subsystem, specifically in how it handles specially crafted SQL statements. CWE-770 (Allocation of Resources Without Limits or Throttling) indicates that the query parser or optimizer fails to enforce bounds on resource consumption for individual queries, allowing a single malformed or pathological SQL statement to monopolize CPU, memory, or I/O resources. This affects both standalone Db2 instances and Db2 Connect Server (the client-server connectivity layer), meaning both direct and remote database connections can trigger the condition. The vulnerability spans multiple major versions across three operating systems, suggesting a systemic flaw in core query processing logic rather than platform-specific code.
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 (ibm) · only source for this CVE.
CVSS VectorVendor: ibm
Lifecycle Timeline
2DescriptionCVE.org
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.
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-2025-209601
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB