Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Local vector confirmed; executing federated queries requires a database session (PR:L not PR:N); impact is availability-only per description.
Primary rating from Vendor (ibm).
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
IBM Db2 12.1.0 through 12.1.4 federated server is vulnerable to a denial of service when running non fenced federated queries.
AnalysisAI
Denial of service in IBM Db2 federated server (versions 12.1.0 through 12.1.4) can be triggered by executing non-fenced federated queries, causing the database engine to exhaust resources and become unresponsive. The root cause is CWE-400 (Uncontrolled Resource Consumption) within the in-process federated wrapper execution path. No public exploit has been identified at time of analysis, and IBM has released a patch via their support portal.
Technical ContextAI
IBM Db2's federated server capability allows the database engine to query heterogeneous remote data sources through pluggable wrapper libraries. 'Non-fenced' mode executes these wrappers in-process with the Db2 engine itself, as opposed to 'fenced' mode where wrappers run in a separate, isolated subprocess. CWE-400 (Uncontrolled Resource Consumption) indicates that a specially crafted or pathological non-fenced federated query can exhaust a finite resource - such as memory, threads, or file descriptors - without an upper bound, causing the engine to hang or crash. The affected CPE cpe:2.3:a:ibm:db2:*:*:*:*:*:*:*:* covers the IBM Db2 product line, with the vendor-confirmed affected range being 12.1.0 through 12.1.4.
RemediationAI
IBM has released a patch for this vulnerability; apply the fix as documented in the IBM support advisory at https://www.ibm.com/support/pages/node/7279474. The exact patched version should be confirmed from that advisory before deployment. As an interim compensating control, administrators can migrate non-fenced federated wrappers to fenced mode, which isolates wrapper execution from the Db2 engine process and prevents a wrapper crash from taking down the database - the trade-off is a measurable performance overhead on federated query throughput. Alternatively, restricting which database roles may execute federated queries via GRANT/REVOKE narrows the blast radius but does not eliminate the vulnerability if the federated server remains reachable by any user.
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
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51249
GHSA-qp88-xvp7-g6v3