What’s Vulnerable › Vulnerabilities
CVE-2016-1886
- Severity: high (CVSS 7.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2016-05-25 · updated 2026-06-17
- Weakness: CWE-119
Description
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."
Affected products
- FreeBSD: 9.3, 10.1, 10.2, 10.3
References
- http://cturt.github.io/SETFKEY.html
- http://www.securityfocus.com/bid/90734
- http://www.securitytracker.com/id/1035905
- https://security.FreeBSD.org/patches/SA-16:18/atkbd.patch
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.asc
- http://cturt.github.io/SETFKEY.html
- http://www.securityfocus.com/bid/90734
- http://www.securitytracker.com/id/1035905
- https://security.FreeBSD.org/patches/SA-16:18/atkbd.patch
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.asc
Get alerted when CVE-2016-1886 or the next vulnerability affects your stack