Skip to main content

IBM Db2 EUVDEUVD-2026-51250

| CVE-2026-10535 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-07-30 ibm GHSA-355r-5322-3222
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local shell access to Db2 host
  2. Delivery
    Execute db2flacc with crafted overflow input
  3. Exploit
    Corrupt stack buffer and overwrite return address
  4. Execution
    Redirect execution to attacker payload
  5. Impact
    Execute arbitrary code with db2 group privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a local, authenticated OS session on a host running a vulnerable version of IBM Db2 (11.5.0-11.5.9 or 12.1.0-12.1.4) and the ability to execute the db2flacc binary directly, which is available to any standard OS user account (PR:L per CVSS). No Db2 database credentials, administrative database role, or special configuration state is required. Remote unauthenticated exploitation is not possible - the attack vector is strictly local (AV:L). Exploitation is further constrained by SSVC automatable: no, meaning scripted mass exploitation across multiple targets is not straightforwardly achievable. The primary limiting factor for most organizations is the prerequisite of local shell access to the Db2 host itself.

Impact

The CVSS 3.1 score of 7.8 (High) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H accurately reflects the serious impact potential: any local user can trigger the overflow without user interaction, achieving full confidentiality, integrity, and availability compromise against the Db2 instance. However, real-world exploitation probability is low - EPSS sits at just 0.12% (2nd percentile), and SSVC rates exploitation as none and automatable as no, confirming no evidence of active or mass exploitation. SSVC technical impact is total, consistent with the CVSS high-impact ratings. The AV:L constraint is the primary risk reducer: remote unauthenticated exploitation is impossible, limiting realistic attacker population to those with local shell access on the Db2 host. Priority is highest for organizations running Db2 on shared multi-tenant systems, jump boxes, or environments where non-administrative users hold local OS accounts on database servers. For tightly access-controlled, single-tenant deployments where only authorized DBAs have shell access, urgency is lower but patching remains recommended.

Exploit ScenarioDerived

A standard OS user with a shell account on the Db2 server invokes the db2flacc setgid binary with a crafted argument or input value exceeding the bounds of an internal stack buffer. The overflow corrupts the saved return address, redirecting execution to attacker-controlled shellcode or a ROP chain that runs under the elevated group identity of db2flacc, granting the attacker control over Db2 instance files and administrative data without any database credentials. No public proof-of-concept code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Aug 05, 2026

Stack-based buffer overflow in IBM Db2's setgid helper binary db2flacc allows a local user with low privileges to overwrite the stack frame and execute arbitrary code with the elevated group permissions of the binary. Both Db2 11.5.x (through 11.5.9) and 12.1.x (through 12.1.4) are affected. No public exploit has been identified and exploitation status is confirmed as none per SSVC, though IBM has released a patch and the SSVC technical impact is rated total, warranting prompt remediation on shared-access Db2 hosts.

Earlier versions of this analysis (1)
v1 Jul 30, 2026 - 17:54 CVSS 8.4

Local privilege escalation in IBM Db2 11.5.0-11.5.9 and 12.1.0-12.1.4 arises from a stack-based buffer overflow in the setgid helper binary db2flacc, allowing a local user to corrupt memory and execute code with the elevated group privileges the helper runs under. IBM has released a fix, and no public exploit has been identified at time of analysis. With CVSS 8.4 (AV:L) the flaw is a serious local escalation vector but not remotely reachable.

RemediationAI

IBM has released a patch for this vulnerability; administrators should consult the IBM support advisory at https://www.ibm.com/support/pages/node/7279466 to identify the exact target fixpack or interim fix applicable to their installed version of Db2 11.5.x or 12.1.x - the specific patched build version is not enumerated in the available intelligence and must be confirmed directly from the advisory. While awaiting patching, compensating controls include restricting local shell access to Db2 hosts exclusively to authorized database administrators, thereby eliminating the PR:L foothold required for exploitation; note that removing general user shell access may impact application-tier workflows that rely on local OS connectivity. Restricting or removing setgid permissions on db2flacc itself is theoretically possible but may break Db2 file access control operations and should be validated thoroughly in a non-production environment before deployment. Auditing which OS accounts hold local login rights on Db2 servers reduces the realistic attacker population in the interim.

Affected VersionsENISA

DB2 12.1.0 ≤12.1.4
DB2 11.5.0 ≤11.5.9

Affected Packages

euvd db2 no fix

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

The vulnerability resides in db2flacc, a setgid helper utility shipped with IBM Db2 that runs with elevated group-level privileges to perform file access control operations on behalf of the database engine. CWE-121 (Stack-based Buffer Overflow) identifies the root cause as improper bounds checking before copying attacker-controlled data into a fixed-size stack buffer, enabling overwrite of the saved return address or adjacent stack data. Setgid binaries are a classic local privilege escalation vector: successful exploitation causes execution to resume under the effective group identity of db2flacc (typically the db2 administrative group), granting unauthorized access to database files, instance directories, and related administrative operations without requiring any database credentials. Affected CPE is cpe:2.3:a:ibm:db2:*:*:*:*:*:*:*:*, spanning the 11.5 and 12.1 release trains.

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

Vendor (ibm) PRIMARY HIGH
NVD 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 setgid binary requires shell access (AV:L, PR:L); stack overflow is straightforward to trigger with no interaction (AC:L, UI:N); db2 group compromise yields full instance-level C/I/A impact with no scope change.

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 Vendor (ibm).

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
Aug 05, 2026 - 20:43 vuln.today
v2 - CVSS changed
CVSS changed
Aug 05, 2026 - 20:37 NVD
8.4 (HIGH) 7.8 (HIGH)
CVE Published
Jul 30, 2026 - 16:55 cve.org
HIGH 8.4

DescriptionNVD

IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.4 is vulnerable to buffer overflow in setgid helper db2flacc.

Executive ViewAI

Why It Matters

IBM Db2 versions 11.5.x and 12.1.x contain a local privilege escalation vulnerability enabling any local user to gain elevated group-level permissions, creating insider threat and data access risks on shared database hosts. Organizations running these versions on systems with untrusted local users face potential unauthorized database access and lateral movement exposure. Vendor patches are available and should be deployed immediately to shared or multi-tenant Db2 deployments.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
widely deployed enterprise relational database across regulated industries
Data Quality
5 sources
Confidence: Medium

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 Yes
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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

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