CVE-2016-6187

HIGH

Linux kernel <4.6.5 - Privilege Escalation

Title source: llm

Description

The apparmor_setprocattr function in security/apparmor/lsm.c in the Linux kernel before 4.6.5 does not validate the buffer size, which allows local users to gain privileges by triggering an AppArmor setprocattr hook.

Exploits (3)

exploitdb WORKING POC
by Vitaly Nikolenko · cdoslinux
https://www.exploit-db.com/exploits/44301
nomisec WORKING POC 7 stars
by Milo-D · poc
https://github.com/Milo-D/CVE-2016-6187_LPE
nomisec WORKING POC 5 stars
by vnik5287 · poc
https://github.com/vnik5287/cve-2016-6187-poc

Scores

CVSS v3 7.8
EPSS 0.0783
EPSS Percentile 92.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-119 CWE-264
Status published
Products (1)
linux/linux_kernel 4.5 - 4.6.5
Published Aug 06, 2016
Tracked Since Feb 18, 2026