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…
Does this matter?
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.
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."
- CVSS 3.0
- 7.8 HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.14% probability · 66th percentile
- Public exploits
- 1 in Exploit-DB · first 29 May 2016
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- freebsd/freebsd
- Source
- cve@mitre.org
EPSS 1.1% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://cturt.github.io/SETFKEY.htmlExploit
- http://www.securityfocus.com/bid/90734
- http://www.securitytracker.com/id/1035905
- https://security.FreeBSD.org/patches/SA-16:18/atkbd.patchPatch
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.ascVendor Advisory
- http://cturt.github.io/SETFKEY.htmlExploit
- http://www.securityfocus.com/bid/90734
- http://www.securitytracker.com/id/1035905
- https://security.FreeBSD.org/patches/SA-16:18/atkbd.patchPatch
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.ascVendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.