Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Db2 listener over network
-
DeliveryEstablish database session/query access
-
ExploitSubmit specially crafted query
-
ExecutionTrigger improper authorization check (CWE-285)
-
PersistEscalate to elevated database privileges
-
ImpactRead/modify protected data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The exploitation trigger is a single specific action: submitting a specially crafted SQL query to an affected Db2 instance (11.5.0-11.5.9 or 12.1.0-12.1.5) that abuses the improper authorization (CWE-285) check to escalate privileges. The published CVSS vector states PR:N/UI:N/AV:N, so per the provided data no authentication or user interaction is formally required and default configurations are in scope; however, because the outcome is privilege *escalation* via a query, realistic exploitation most likely requires the attacker to already have query-submission access (a database session), and authentication requirements are not conclusively confirmed from the description alone - verify with IBM. Limiting factors: the target must be on the listed vulnerable version ranges and network-reachable on the Db2 listener port, and SSVC rates technical impact as only partial rather than total system compromise. |
| Impact | The signals conflict and must be weighed carefully. The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) yields 9.8 and implies fully unauthenticated network exploitation, but the description centers on privilege *escalation* via a crafted query - which in a database context generally presupposes an existing authenticated session with query privileges; verify PR with the vendor, as PR:N appears optimistic for an escalation flaw. Counter-signals reduce real-world urgency: SSVC records Exploitation=none and Technical Impact=partial (not total), and EPSS is only 0.32% (25th percentile), both inconsistent with a broadly weaponized 9.8. The one aggravating factor is SSVC Automatable=yes, meaning the crafted-query step could be scripted at scale once details are public. Net: treat as a high-priority patch for internet- or broadly-accessible Db2 instances, but the practical exploitation bar is likely higher than the 9.8 suggests, pointing to prioritized-but-not-emergency remediation absent confirmation of unauthenticated reachability. |
| Exploit ScenarioDerived | An attacker with the ability to reach the Db2 query interface - for example a low-privileged database user or a network client able to authenticate - submits a specially crafted query that triggers the improper authorization check, granting them elevated privileges and full read/write control over database contents. Because SSVC marks the technique as automatable, the query could be embedded in a script and run against many instances; no public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 18, 2026
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 specially crafted query that bypasses authorization controls and gains elevated database privileges, classified as CWE-285 improper authorization. IBM reported the issue and has published a fix; there is no public exploit identified at time of analysis and it is not on CISA KEV. EPSS is low at 0.32% (25th percentile) despite the 9.8 CVSS, indicating no observed mass-exploitation activity yet.
Earlier versions of this analysis (1)
Privilege escalation via specially crafted SQL query affects IBM Db2 11.5.0 through 11.5.9 and 12.1.0 through 12.1.5, allowing a network-accessible attacker with no prior authentication to gain elevated database privileges and achieve high integrity impact against targeted Db2 instances. The CVSS vector (AV:N/AC:L/PR:N/UI:N) combined with the 'Authentication Bypass' tag indicates that the improper authorization check (CWE-285) can be triggered pre-authentication, effectively collapsing the authentication and privilege boundary in a single crafted request. No public exploit or CISA KEV listing has been identified at time of analysis; a vendor patch is available via IBM support.
RemediationAI
Apply the IBM-provided fix referenced in the vendor advisory at https://www.ibm.com/support/pages/node/7282949; patch available per vendor advisory, but an exact fixed build/fixpack number was not provided in this data set, so consult that IBM support node for the precise fixpack or special build for your 11.5.x or 12.1.x level and apply it. Until patched, reduce exposure by restricting network access to the Db2 listener (default port 50000/50001 or your configured SVCENAME) to trusted application hosts only, and tighten database authorities so accounts hold only least-privilege grants - this limits which principals can submit the crafted query but does not fully remediate the authorization flaw and may disrupt applications that rely on broad grants. Increase auditing/monitoring of unusual query patterns and privilege changes as a detective control; note this detects but does not prevent exploitation. Do not rely on workarounds as a substitute for the vendor fix.
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 IBM's relational database management system used for transactional (OLTP) and analytical workloads across enterprise environments, identified here by the CPE cpe:2.3:a:ibm:db2 covering the 11.5.x LUW and newer 12.1.x lines. The root-cause class is CWE-285 (Improper Authorization): the engine fails to correctly enforce authorization checks when processing a particular query construct, so an operation is permitted that the requesting principal should not be allowed to perform. In Db2 terms this typically manifests as the query processor evaluating a crafted statement in a way that grants access to objects or executes actions beyond the session's granted authorities, effectively escalating the user's effective privilege level within 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Privilege escalation via a crafted query realistically requires an existing low-privileged database session, so PR:L rather than PR:N; network vector, low complexity, and full C/I/A impact once escalated.
Primary rating from Vendor (ibm).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.5 is vulnerable to privilege escalation with a specially crafted query.
Executive ViewAI
IBM Db2 databases in versions 11.5.0-11.5.9 and 12.1.0-12.1.5 contain a privilege escalation vulnerability that could allow database users to gain unauthorized elevated access. Organizations operating these versions face significant risk of unauthorized data access and modification affecting data confidentiality, integrity, and compliance obligations. Patching is essential before this vulnerability can be broadly exploited.
Patch available per vendor advisory.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
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
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-57621
GHSA-x2q5-8g6f-pv4c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB