725
VMScore

CVE-2016-1886

Published: 25/05/2016 Updated: 20/04/2017
CVSS v2 Base Score: 7.2 | Impact Score: 10 | Exploitability Score: 3.9
CVSS v3 Base Score: 7.8 | Impact Score: 5.9 | Exploitability Score: 1.8
VMScore: 725
Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Summary

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."

Vulnerable Product Search on Vulmon Subscribe to Product

freebsd freebsd 10.2

freebsd freebsd 10.1

freebsd freebsd 9.3

freebsd freebsd 10.3

Vendor Advisories

Debian Bug report logs - #824604 kfreebsd-10: CVE-2016-1886: Buffer overflow in keyboard driver Package: src:kfreebsd-10; Maintainer for src:kfreebsd-10 is GNU/kFreeBSD Maintainers <debian-bsd@listsdebianorg>; Reported by: Steven Chamberlain <steven@pyroeuorg> Date: Tue, 17 May 2016 22:57:01 UTC Severity: grave T ...
Debian Bug report logs - #824605 kfreebsd-10: CVE-2016-1887: Incorrect argument handling in sendmsg(2) Package: src:kfreebsd-10; Maintainer for src:kfreebsd-10 is GNU/kFreeBSD Maintainers <debian-bsd@listsdebianorg>; Reported by: Steven Chamberlain <steven@pyroeuorg> Date: Tue, 17 May 2016 22:57:05 UTC Severity: ...

Exploits

#include <stdioh> #include <stdlibh> #include <stddefh> #include <stringh> #include <errnoh> #include <unistdh> #include <sys/ioctlh> #include <sys/kbioh> #include <sys/typesh> #include <sys/mmanh> #include <sys/paramh> #include <sys/linkerh> int (*kprintf)(const c ...