Vulnerability Details : CVE-2016-1886
Integer signedness error in the genkbd_commonioctl function in sys/dev/kbd/kbd.c in FreeBSD 9.3 before p42, 10.1 before p34, 10.2 before p17, and 10.3 before p3 allows local users to obtain sensitive information from kernel memory, cause a denial of service (memory overwrite and kernel crash), or gain privileges via a negative value in the flen structure member in the arg argument in a SETFKEY ioctl call, which triggers a "two way heap and stack overflow."
Vulnerability category: OverflowDenial of service
Exploit prediction scoring system (EPSS) score for CVE-2016-1886
Probability of exploitation activity in the next 30 days: 0.06%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 24 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2016-1886
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
7.2
|
HIGH | AV:L/AC:L/Au:N/C:C/I:C/A:C |
3.9
|
10.0
|
NIST |
7.8
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2016-1886
-
The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-1886
-
https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.asc
Vendor Advisory
-
https://security.FreeBSD.org/patches/SA-16:18/atkbd.patch
Patch
-
http://www.securityfocus.com/bid/90734
FreeBSD CVE-2016-1886 Local Buffer Overflow Vulnerability
-
http://www.securitytracker.com/id/1035905
FreeBSD Buffer Overflow in Keyboard Driver Lets Local Users Gain Elevated Privileges - SecurityTracker
-
http://cturt.github.io/SETFKEY.html
Analysis of CVE-2016-1886, SETFKEY FreeBSD kernel vulnerabilityExploit
Products affected by CVE-2016-1886
- cpe:2.3:o:freebsd:freebsd:9.3:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:10.1:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:10.2:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:10.3:*:*:*:*:*:*:*