Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (ibm).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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-121 – Stack-based Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51250
GHSA-355r-5322-3222