Skip to main content

IBM Db2 CVE-2025-36186

HIGH
Execution with Unnecessary Privileges (CWE-250)
2025-11-07 psirt@us.ibm.com
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local low-privileged account
  2. Delivery
    Identify over-privileged Db2 component in vulnerable config
  3. Exploit
    Supply malicious code to that component
  4. Execution
    Code executes at elevated privilege
  5. Impact
    Escalate to root/SYSTEM

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V8 - Authorization Unnecessary privilege execution
Exploitation Conditions

Exploitation requires (1) prior local access to the Db2 host with an existing low-privileged account (PR:L, AV:L - not remotely reachable), and (2) a vulnerable Db2 12.1.0-12.1.3 LUW / Db2 Connect Server instance running under the 'specific configurations' noted by IBM in which a Db2 component executes with higher-than-minimum (CWE-250) privileges. The precise configuration is not named in the available data and must be confirmed against IBM advisory node 7250486; installations not in that configuration are not exploitable. No user interaction is required (UI:N). The requirement for local authenticated access and a non-universal configuration are the primary factors limiting real-world risk despite the full-root impact.

Impact

This is a genuine but moderate-priority local privilege escalation. The CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8 HIGH) confirms the attacker must already have local access and a low-privilege account (PR:L), so this is a post-compromise escalation to root rather than an initial-access or remotely-triggerable flaw. All exploitation signals point to low real-world urgency: EPSS is 0.03% (7th percentile), there is no CISA KEV listing (not confirmed actively exploited), and no public exploit code was identified in the provided data. CWE-250 (Execution with Unnecessary Privileges) combined with the description's 'under specific configurations' language indicates the flaw is not reachable in every deployment, further narrowing exposure. No SSVC decision data was supplied. The signals are internally consistent - high technical impact (full root) but low exploitation probability and an access barrier (local, authenticated) - so this belongs in routine patch cycles for Db2 hosts where untrusted local users exist, not in emergency response. The main caveat: the description says 'specific configurations' without naming them, so defenders cannot precisely scope affected installs from the provided data alone.

Exploit ScenarioDerived

A local user with an existing low-privilege account on a Linux/UNIX/Windows host running a vulnerable, specifically-configured Db2 12.1.x instance abuses a Db2 component that runs with higher-than-necessary privileges to execute attacker-controlled code, gaining root/SYSTEM. No public exploit code was identified at time of analysis, and the attack requires prior local access plus the specific configuration to be present.

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

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

Alert me

AnalysisAIv2 – Oct 07, 2026

Local privilege escalation to root in IBM Db2 12.1.0 through 12.1.3 for Linux, UNIX and Windows (including Db2 Connect Server) allows an attacker who already holds a low-privileged local account on the database host to execute malicious code that elevates them to root, because a Db2 component is configured to run with higher-than-minimum privileges (CWE-250, execution with unnecessary privileges). Exploitation requires both prior local access (AV:L, PR:L, UI:N) and a Db2 instance running in one of the specific configurations IBM calls out in advisory node 7250486, so default or unrelated configurations are not affected. This is a genuine but moderate-priority local privilege escalation rather than a broadly reachable flaw: CVSS 3.1 base score is 7.8 with high confidentiality, integrity and availability impact, EPSS is only about 0.03% (7th percentile), there is no CISA KEV listing, and no public exploit code has been identified at time of analysis.

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

IBM Db2 12.1.0 through 12.1.3 for Linux, UNIX and Windows (includes Db2 Connect Server) under specific configurations could allow a local user to execute malicious code that escalate their privileges. Rated high severity (CVSS 7.4), this vulnerability is no authentication required. No vendor patch available.

RemediationAI

IBM's remediation guidance for this issue is published in the vendor advisory at https://www.ibm.com/support/pages/node/7250486, which should be consulted to confirm whether a given 12.1.0-12.1.3 installation is in the vulnerable configuration and to obtain the exact fixed 12.1.x level; the available intelligence does not state a specific fix-pack number, so the fix version must be taken directly from that advisory rather than assumed. Until the applicable vendor fix is applied, treat the issue with targeted compensating controls: audit the Db2 host for Db2 binaries, helpers and startup scripts that carry setuid/setgid bits or are launched with elevated privileges and remove unnecessary privilege grants so components run at the lowest level that still supports operation (trade-off: this can break features such as fenced routines or instance-owner operations and must be staged and tested); tighten local access so that DB2 instance and OS accounts are strictly limited to users who require them and remove users from privileged groups such as db2iadm1, db2fadm1 or the instance owner group (trade-off: reduces operational flexibility for DBAs but directly removes the PR:L foothold the exploit needs); and enable OS-level auditing and monitoring for privilege-escalation behavior in Db2-related processes on affected hosts. These are mitigations, not substitutes for the vendor fix, and they only reduce exposure for hosts that cannot yet be patched.

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

The root cause class is CWE-250, Execution with Unnecessary Privileges: a Db2 process or helper is permitted to run at a privilege level above the minimum required for its function, which gives a local user with an existing low-privileged Db2 or host account a path to leverage that over-privileged execution context into root code execution. The affected technology stack is IBM Db2 12.1.x for Linux, UNIX and Windows (LUW), including the bundled Db2 Connect Server component; CPE data pins the exposure to cpe:2.3:a:ibm:db2 running on linux, unix and windows platforms. The CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H confirms the attacker must already be present on the host with low privileges, needs no user interaction, and that success yields full compromise of confidentiality, integrity and availability of the Db2 host; the scope is unchanged, so the impact is confined to the vulnerable component's security authority (in practice root on the host). Notably, the flaw is not remotely triggerable and requires a non-universal configuration, which is the primary constraint on real-world exploitability; the exact configuration condition is not enumerated in the available intelligence and must be confirmed against IBM support document node 7250486 before assuming a given deployment is at risk.

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.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local authenticated user needed (AV:L, PR:L); an over-privileged component yields full root, giving C:H/I:H/A:H; scope unchanged as escalation stays on the same host.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

3
Analysis Updated
Oct 07, 2026 - 21:38 vuln.today
v2 - CVSS changed
CVSS changed
Oct 07, 2026 - 21:23 NVD
7.4 (HIGH) 7.8 (HIGH)
CVE Published
Nov 07, 2025 - 19:16 nvd
HIGH 7.4

DescriptionNVD

IBM Db2 12.1.0 through 12.1.3 for Linux, UNIX and Windows (includes Db2 Connect Server) under specific configurations could allow a local user to execute malicious code that escalate their privileges to root due to execution of unnecessary privileges operated at a higher than minimum level.

Executive ViewAI

Why It Matters

IBM Db2 versions 12.1.0 through 12.1.3 (including Db2 Connect Server) on Linux, UNIX, and Windows contain a local privilege escalation flaw that allows someone who already holds a low-privileged account on a database host to gain root-level control of that server. Because the vulnerable component runs with more privilege than necessary, a compromised or careless local account could become a full system compromise, putting the confidentiality, integrity, and availability of data hosted on that Db2 instance at risk. The exposure is real but narrow - it demands pre-existing local access plus a specific Db2 configuration, and no public exploit code or active exploitation has been identified - so leadership should treat this as a targeted hardening and patch-tracking priority rather than an emergency.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: confirm whether any instance matches the specific configurations in IBM advisory node 7250486 and change or disable those settings where feasible; enforce least privilege on the Db2 component identified as running with unnecessary privileges; reduce and tightly control local accounts and interactive shell access on Db2 hosts; monitor database hosts for local privilege-escalation activity and alert on anomalies; and request an interim fix or fixed build directly from IBM support.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
High
IBM Db2 is a widely deployed enterprise database across Linux, UNIX and Windows
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.0%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

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

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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:*:*

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