Skip to main content

IBM Db2 CVE-2025-2534

HIGH
Memory Allocation with Excessive Size Value (CWE-789)
2025-11-07 psirt@us.ibm.com
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Reach Db2 network listener
  2. Delivery
    Establish database session
  3. Exploit
    Submit specially crafted query
  4. Execution
    Trigger excessive memory allocation
  5. Impact
    Crash server and deny service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

Exploitation requires the ability to deliver a specially crafted query to an affected Db2 11.1.x, 11.5.x, or 12.1.x instance (including Db2 Connect Server) on Linux, UNIX, or Windows, which triggers excessive memory allocation (CWE-789) and crashes the server. The practical prerequisite is network reachability to the Db2 listener and a means to submit SQL to it; although IBM scored this PR:N, issuing a query normally requires a valid database connection, so the realistic limiting factor is access to an authenticated or otherwise query-capable session. Impact is limited to availability - no data disclosure or modification - and exposure is reduced where the Db2 port is firewalled to trusted application tiers rather than open to untrusted networks.

Impact

Signals point to a moderate, availability-only risk rather than a top-tier emergency. The CVSS 3.1 base score of 7.5 is driven entirely by the availability impact (A:H) of a remotely reachable crash (AV:N/AC:L/PR:N/UI:N), with no confidentiality or integrity impact (C:N/I:N). Corroborating exploitation signals are weak: EPSS is just 0.10% (28th percentile), there is no CISA KEV listing, and no public proof-of-concept was provided - so the probability of near-term widespread exploitation is low. The most important tension is the privilege metric: IBM/NVD scored this PR:N (unauthenticated), yet the root cause is a 'specially crafted query,' which normally presupposes an authenticated database session capable of issuing SQL. This is a conflict worth verifying - if a valid Db2 connection is genuinely required, the realistic privilege requirement is PR:L and the effective risk is lower than a pure unauthenticated-network DoS. SSVC-style reading: technical impact is partial (service crash, not code execution or data loss), automatable is likely 'no' (requires a crafted query against a reachable instance), exploitation status is 'none' observed. Net: a legitimate patch-management item for exposed Db2 servers, not a drop-everything scenario.

Exploit ScenarioDerived

An attacker with network reachability to a Db2 (or Db2 Connect Server) instance submits a specially crafted query that triggers excessive/uncontrolled memory allocation (CWE-789), causing the database server process to crash and denying service to all users. No public exploit code was identified; exploitation likely requires the ability to send a query to the listener, which in practice usually means a valid database session.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Oct 07, 2026

A crafted SQL query can crash IBM Db2 11.1.0 through 11.1.4.7, 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3 on Linux, UNIX, and Windows - including Db2 Connect Server - producing a full denial of service against the database instance. The root cause is CWE-789 (uncontrolled memory allocation): the server attempts an excessive allocation when processing the specially crafted query and terminates. IBM's published vector scores this 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), while our assessment places the realistic vector at PR:L, since delivering the malicious query in practice requires a valid, query-capable database session rather than an anonymous network packet; the practical barrier is therefore access to an authenticated connection plus network reachability to the Db2 listener. There is no CISA KEV listing and no public exploit code identified at time of analysis, and EPSS is low at 0.10% (28th percentile), so this reads as a moderate, availability-only risk rather than an emergency - but any crash of a production Db2 instance is business-impacting, so patching on a normal maintenance cadence remains appropriate.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:21 CVSS 5.3

IBM Db2 11.1.0 through 11.1.4.7, 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3 for Linux, UNIX and Windows (includes Db2 Connect Server) is vulnerable to a denial of service as the server may. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable. No vendor patch available.

RemediationAI

IBM publishes fix information for this issue through its support advisory at https://www.ibm.com/support/pages/node/7250472; no exact patched version number is confirmed in the available data, so administrators should consult that advisory and apply the Db2 fix pack or special build IBM lists for their specific 11.1.x, 11.5.x, or 12.1.x installation, including Db2 Connect Server. Where patching cannot be performed immediately, the most effective compensating control is network restriction: firewall the Db2 listener port (commonly TCP 50000) so only trusted application tiers can reach the instance, and require database access to traverse a proxy or connection pool rather than being directly reachable - the trade-off is that any application not covered by the new rules loses connectivity and rule sets must be maintained as tiers change. Reducing the population of accounts that can submit arbitrary SQL and reviewing any application path that concatenates user input into queries also narrows the attack surface, at the cost of application changes and user friction. Because the impact is availability-only and no public exploit is known, these measures can be staged on a normal maintenance cadence, but monitoring for unexpected db2sysc restarts or instance outages provides early warning if exploitation is attempted.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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 whose server process (db2sysc) parses and optimizes incoming SQL over the database listener, historically on TCP port 50000. CVE-2025-2534 is classified as CWE-789, allocation of resources without limits or throttling with an excessive size value: the query parser/optimizer accepts a specially crafted statement and attempts a memory allocation far larger than is reasonable, exhausting memory or hitting an internal limit and terminating the server process instead of failing the statement gracefully. The CPE data confirms the affected products as ibm:db2 builds targeting linux, unix, and windows, and IBM's description explicitly includes Db2 Connect Server, meaning both the core Db2 server on LUW and the gateway/connectivity server tier are in scope. Because the defect sits in query handling rather than in authentication or encryption code, the primary impact is process termination (CVSS impact C:N/I:N/A:H) with no confidentiality or integrity loss, and repeated submissions could keep an instance persistently unavailable. No authentication bypass or privilege escalation primitive is described, which is why the assessment treats the realistic prerequisite as the ability to submit SQL - either an authenticated session or an application path that forwards user-controlled query content to the database.

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

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Remote crafted query over the network (AV:N/AC:L) typically needs a valid Db2 session, so PR:L; impact is availability-only server crash (A:H, C:N/I:N).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
Analysis Updated
Oct 07, 2026 - 21:40 vuln.today
v2 - CVSS changed
Severity Changed
Oct 07, 2026 - 21:23 NVD
MEDIUM HIGH
CVSS changed
Oct 07, 2026 - 21:23 NVD
5.3 (MEDIUM) 7.5 (HIGH)
CVE Published
Nov 07, 2025 - 19:15 nvd
MEDIUM 5.3

DescriptionNVD

IBM Db2 11.1.0 through 11.1.4.7, 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3 for Linux, UNIX and Windows (includes Db2 Connect Server) is vulnerable to a denial of service as the server may crash under certain conditions with a specially crafted query.

Executive ViewAI

Why It Matters

IBM Db2 database instances across Linux, UNIX, and Windows platforms, including Db2 Connect Server, are affected by a high-severity denial-of-service vulnerability that can crash the database when processing a specially crafted SQL query. This poses a risk of unplanned downtime for critical business applications dependent on Db2. Although no public exploit identified at time of analysis, the absence of a vendor patch warrants immediate mitigation efforts.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to the Db2 listener to trusted hosts, enforcing strong authentication and least privilege for database accounts, enabling query monitoring to detect anomalous SQL patterns, and isolating critical Db2 instances through network segmentation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 72% exploitable
Prevalence
High
IBM Db2 is a widely deployed enterprise database across LUW platforms
Data Quality
3 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

Affected Products (CPE)NVD

cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:*
cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:*
cpe:2.3:a:ibm:db2:*:*:*:*:*:windows:*:*
cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:*
cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:*
cpe:2.3:a:ibm:db2:*:*:*:*:*:windows:*:*
cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:*
cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:*
cpe:2.3:a:ibm:db2:*:*:*:*:*:windows:*:*

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