CVE-2016-5995
Summary
| CVE | CVE-2016-5995 |
|---|---|
| State | PUBLISHED |
| Assigner | ibm |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2016-10-01 01:59:08 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| Description | Untrusted search path vulnerability in IBM DB2 9.7 through FP11, 10.1 through FP5, 10.5 before FP8, and 11.1 GA on Linux, AIX, and HP-UX allows local users to gain privileges via a Trojan horse library that is accessed by a setuid or setgid program. |
Risk And Classification
Primary CVSS: v3.0 7.3 HIGH from [email protected]
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS: 0.000640000 probability, percentile 0.197130000 (date 2026-05-07)
Problem Types: CWE-264 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 7.3 | HIGH | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
CVSS v3.0 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
MediumAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:L/AC:M/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Hp | Hp-ux | All | All | All | All |
| Operating System | Ibm | Aix | All | All | All | All |
| Application | Ibm | Db2 | 10.1 | All | All | All |
| Application | Ibm | Db2 | 10.1 | All | All | All |
| Application | Ibm | Db2 | 10.1 | All | All | All |
| Application | Ibm | Db2 | 10.1 | All | All | All |
| Application | Ibm | Db2 | 10.1 | All | All | All |
| Application | Ibm | Db2 | 10.1 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.1.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.5 | All | All | All |
| Application | Ibm | Db2 | 10.5 | All | All | All |
| Application | Ibm | Db2 | 10.5 | All | All | All |
| Application | Ibm | Db2 | 10.5 | All | All | All |
| Application | Ibm | Db2 | 10.5 | All | All | All |
| Application | Ibm | Db2 | 10.5 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.1 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.2 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.3 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.4 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.5 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.6 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.6 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.6 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.6 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.6 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.6 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.7 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.7 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.7 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.7 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.7 | All | All | All |
| Application | Ibm | Db2 | 10.5.0.7 | All | All | All |
| Application | Ibm | Db2 | 11.1.0.0 | All | All | All |
| Application | Ibm | Db2 | 11.1.0.0 | All | All | All |
| Application | Ibm | Db2 | 11.1.0.0 | All | All | All |
| Application | Ibm | Db2 | 11.1.0.0 | All | All | All |
| Application | Ibm | Db2 | 11.1.0.0 | All | All | All |
| Application | Ibm | Db2 | 11.1.0.0 | All | All | All |
| Application | Ibm | Db2 | 9.7 | All | All | All |
| Application | Ibm | Db2 | 9.7 | All | All | All |
| Application | Ibm | Db2 | 9.7 | All | All | All |
| Application | Ibm | Db2 | 9.7 | All | All | All |
| Application | Ibm | Db2 | 9.7 | All | All | All |
| Application | Ibm | Db2 | 9.7 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.1 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.1 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.1 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.1 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.1 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.1 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.10 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.10 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.10 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.10 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.10 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.10 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.11 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.11 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.11 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.11 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.11 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.11 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.2 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.2 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.2 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.2 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.2 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.2 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.3 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.3 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.3 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.3 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.3 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.3 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.4 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.4 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.4 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.4 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.4 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.4 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.5 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.5 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.5 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.5 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.5 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.5 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.6 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.6 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.6 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.6 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.6 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.6 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.7 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.7 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.7 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.7 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.7 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.7 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.8 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.8 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.8 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.8 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.8 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.8 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.9 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.9 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.9 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.9 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.9 | All | All | All |
| Application | Ibm | Db2 | 9.7.0.9 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.1 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.1 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.1 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.2 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.2 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.2 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.3 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.3 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.3 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.4 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.4 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.4 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.5 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.5 | All | All | All |
| Application | Ibm | Db2 Connect | 10.1.0.5 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.1 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.1 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.1 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.2 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.2 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.2 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.3 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.3 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.3 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.4 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.4 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.4 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.5 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.5 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.5 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.6 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.6 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.6 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.7 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.7 | All | All | All |
| Application | Ibm | Db2 Connect | 10.5.0.7 | All | All | All |
| Application | Ibm | Db2 Connect | 11.1.0.0 | All | All | All |
| Application | Ibm | Db2 Connect | 11.1.0.0 | All | All | All |
| Application | Ibm | Db2 Connect | 11.1.0.0 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.1 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.1 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.1 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.10 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.10 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.10 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.11 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.11 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.11 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.2 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.2 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.2 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.3 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.3 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.3 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.4 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.4 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.4 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.5 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.5 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.5 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.6 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.6 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.6 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.7 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.7 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.7 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.8 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.8 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.8 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.9 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.9 | All | All | All |
| Application | Ibm | Db2 Connect | 9.7.0.9 | All | All | All |
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| IBM DB2 Library Loading Error Lets Local Users Obtain Root Privileges - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | |
| IBM Security Bulletin: Local escalation of privilege vulnerability in IBM® DB2® (CVE-2016-5995). - United States | af854a3a-2127-422b-91ae-364da2661108 | www-01.ibm.com | Patch, Vendor Advisory |
| IBM Registration | af854a3a-2127-422b-91ae-364da2661108 | www-01.ibm.com | Permissions Required |
| IBM IT16921: SECURITY: ELEVATED PRIVILEGES WITH DB2 EXECUTABLES (CVE-2016-5995). - United States | af854a3a-2127-422b-91ae-364da2661108 | www-01.ibm.com | Vendor Advisory |
| IBM Registration | af854a3a-2127-422b-91ae-364da2661108 | www-01.ibm.com | Permissions Required |
| IBM Registration | af854a3a-2127-422b-91ae-364da2661108 | www-01.ibm.com | Permissions Required |
| Multiple IBM DB2 Products CVE-2016-5995 Local Privilege Escalation Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.