Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Db2 DRDA listener (TCP 50000)
-
DeliverySend crafted pre-auth handshake
-
ExploitTrigger code injection in handshake parser
-
ExecutionExecute arbitrary code as Db2 process
-
ImpactAccess database and pivot internally
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires only network reachability to the IBM Db2 DRDA listener (typically TCP 50000/50001); the flawed code path is in the pre-authentication handshake, so no credentials, user interaction, or special client privileges are needed against affected versions (11.5.0-11.5.9, 12.1.0-12.1.4). The CVSS vector AV:N/AC:L/PR:N/UI:N confirms no special conditions beyond reaching the service - this is remote unauthenticated exploitation against affected configurations of IBM Db2. The principal limiting factor is exposure: Db2 instances are commonly deployed on internal or segmented networks behind firewalls, so an attacker must already be able to route to the database port. Instances running a non-affected fix level, or with the listener restricted to localhost or trusted hosts, are not reachable for this attack. |
| Impact | All available severity signals point the same direction: the CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H describes network-reachable, low-complexity, unauthenticated, no-interaction exploitation with full triple-impact, yielding a 9.8 critical score, and the RCE/Code Injection tags reinforce that the technical impact is total. The pre-auth nature removes the usual mitigating barrier of credentials, so exposure is governed mainly by network reachability of the Db2 listener. Countervailing signals concern exploitation maturity rather than severity: there is no CISA KEV listing and no public proof-of-concept referenced, and no EPSS score was provided, so probability-of-exploitation data is missing and cannot be cross-checked. The realistic prioritization is high - a pre-auth RCE in a widely deployed enterprise database warrants urgent patching even absent confirmed in-the-wild activity, with the caveat that databases are frequently segmented behind internal networks, which constrains the exploitable population to whatever can route to the DRDA port. Because EPSS and POC status are unknown in this dataset, their absence should not be read as evidence of low real-world risk. |
| Exploit ScenarioDerived | An attacker who can reach a Db2 instance's DRDA listener sends a specially crafted, malformed handshake packet before authenticating, triggering the code-injection flaw and executing arbitrary commands in the context of the Db2 server process. From there the attacker can read or tamper with all database contents and pivot into the surrounding environment. No public exploit code is identified at time of analysis, but the low attack complexity and lack of authentication make weaponization straightforward if technical details emerge. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 30, 2026
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 code by abusing improper handling of the pre-authentication DRDA handshake. Because the flaw is reachable before any login, any client able to reach the database listener can trigger it, and the CVSS 3.1 base score of 9.8 reflects full compromise of confidentiality, integrity, and availability. No public exploit is identified at time of analysis and the CVE is not listed in CISA KEV.
RemediationAI
Apply the fixed Db2 level published in IBM's bulletin at https://www.ibm.com/support/pages/node/7277424 as the primary remediation; the input data does not state an exact patched fixpack version, so treat the specific target level as patch available per vendor advisory and confirm it from that page before scheduling the upgrade. As compensating controls until patching, restrict network access to the Db2 listener ports (default TCP 50000/50001) using host and network firewalls so only trusted application hosts can reach the DRDA endpoint, which directly limits pre-auth reachability but will break any client whose source IP is not allowlisted. Where feasible, place Db2 behind a bastion or private subnet and require VPN for administrative access, accepting the added connection latency and operational overhead. Enable and monitor connection logging on the listener to detect anomalous or malformed handshake attempts; this is detective rather than preventive and does not stop exploitation. Do not expose Db2 directly to the internet under any circumstances.
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
DRDA (Distributed Relational Database Architecture) is the wire protocol IBM Db2 uses for client-server and inter-server communication, typically exposed on TCP 50000/50001. The vulnerability lies in the server's parsing of the DRDA connection handshake that occurs before authentication completes, meaning the vulnerable code path is exercised by any peer that can open a socket to the listener. The CWE-94 (Improper Control of Generation of Code / code injection) classification indicates the malformed handshake data is ultimately interpreted as executable code or control flow rather than inert input, allowing the attacker to direct execution. Affected distributions span the Db2 11.5 modification stream (11.5.0 through 11.5.9) and the newer 12.1 stream (12.1.0 through 12.1.4); no CPE strings were supplied in the input, so exact platform/edition scoping should be confirmed against IBM's advisory.
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:N/UI:N/S:U/C:H/I:H/A:H
Pre-auth DRDA handshake is network-reachable with no credentials or interaction (AV:N/AC:L/PR:N/UI:N), and code injection yields full host compromise (C/I/A:H).
Primary rating from Vendor (us).
CVSS VectorVendor: us
DescriptionCVE.org
IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.4 is vulnerable to remote code execution due to improper pre-auth DRDA handshake handling.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
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
The scalar-function implementation in IBM DB2 9.7 through FP10, 9.8 through FP5, 10.1 before FP5, and 10.5 through FP5 o
EUVD-2026-40406
GHSA-fq2g-wj3x-6hc2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB