Skip to main content

IBM Db2 CVE-2025-36122

| EUVDEUVD-2025-209601 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-30 ibm
6.5
CVSS 3.1 · Vendor: ibm
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid Db2 credentials
  2. Delivery
    Connect to Db2 instance over network
  3. Exploit
    Craft pathological SQL query
  4. Execution
    Submit query to database engine
  5. Persist
    Trigger resource exhaustion
  6. Impact
    Database 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

DB2 11.5.0 ≤11.5.9
DB2 12.1.0 ≤12.1.3

Affected Packages

euvd db2 no fix

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

Vendor (ibm) PRIMARY 6.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch released
Apr 30, 2026 - 22:00 nvd
Patch available
CVE Published
Apr 30, 2026 - 21:48 nvd
MEDIUM 6.5

DescriptionCVE.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

EPSS Score
0.0%
Top 88% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Db2

View all
CVE-2012-4826 HIGH
8.5 Oct 20

Stack-based buffer overflow in the SQL/PSM (aka SQL Persistent Stored Module) Stored Procedure (SP) infrastructure in IB

CVE-2017-1297 HIGH POC
7.3 Jun 27

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

CVE-2014-3094 HIGH
8.5 Sep 04

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

CVE-2012-1797 CRITICAL
10.0 Mar 20

IBM DB2 9.5 uses world-writable permissions for nodes.reg, which has unspecified impact and attack vectors. Rated critic

CVE-2026-10109 CRITICAL
9.8 Jun 30

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

CVE-2026-10543 CRITICAL
9.8 Aug 12

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

CVE-2026-10534 CRITICAL
9.8 Aug 12

Memory-corruption in IBM Db2's IXF file IMPORT parser lets an attacker supply a crafted IXF data file that overflows a s

CVE-2012-2197 HIGH
7.1 Jul 25

Stack-based buffer overflow in the Java Stored Procedure infrastructure in IBM DB2 9.1 before FP12, 9.5 through FP9, 9.7

CVE-2012-3324 CRITICAL
9.0 Sep 25

Directory traversal vulnerability in the UTL_FILE module in IBM DB2 and DB2 Connect 10.1 before FP1 on Windows allows re

CVE-2018-1426 CRITICAL
9.1 Mar 22

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

CVE-2012-0711 HIGH
7.5 Mar 20

Integer signedness error in the db2dasrrm process in the DB2 Administration Server (DAS) in IBM DB2 9.1 through FP11, 9.

CVE-2013-6744 HIGH
8.5 May 30

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy