{"id":"CVE-2016-1886","url":"https://www.cyber-defence.io/tools/cve/CVE-2016-1886","generatedAt":"2026-10-27T23:18:49.438Z","title":"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…","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.\"","published":"2016-05-25T15:59:03.000Z","lastModified":"2026-06-17T00:42:48.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.8,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-119"],"affected":["freebsd/freebsd"],"epss":{"score":0.01143,"percentile":0.66472,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2016-05-29","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":44211,"kind":"exploit","title":"FreeBSD Kernel (FreeBSD 10.2 < 10.3 x64) - 'SETFKEY' (PoC)","url":"https://www.exploit-db.com/exploits/44211","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/freebsd_x86-64/dos/44211.c","file":"exploits/freebsd_x86-64/dos/44211.c","published":"2016-05-29","added":"2018-02-28","updated":"2018-02-28","author":"CTurt","type":"dos","platform":"freebsd_x86-64","port":null,"verified":false,"codes":["CVE-2016-1886"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://cturt.github.io/SETFKEY.html"}]},"verdict":{"level":"urgent","text":"A public exploit is published in Exploit-DB and the impact is high, while EPSS rates exploitation at 1.1%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use."},"changes":[],"references":[{"url":"http://cturt.github.io/SETFKEY.html","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/90734","source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id/1035905","source":"cve@mitre.org"},{"url":"https://security.FreeBSD.org/patches/SA-16:18/atkbd.patch","tags":["Patch"],"source":"cve@mitre.org"},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.asc","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://cturt.github.io/SETFKEY.html","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/90734","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1035905","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.FreeBSD.org/patches/SA-16:18/atkbd.patch","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.asc","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-1886","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}