{"id":"CVE-2016-1886","sourceIdentifier":"cve@mitre.org","published":"2016-05-25T15:59:02.677","lastModified":"2026-06-17T00:42:48.127","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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.\""},{"lang":"es","value":"Error de entero sin signo en la función genkbd_commonioctl en sys/dev/kbd/kbd.c en FreeBSD 9.3 en versiones anteriores a p42, 10.1 en versiones anteriores a p34, 10.2 en versiones anteriores a p17 y 10.3 en versiones anteriores a p3 permite a usuarios locales obtener información sensible de la memoria del kernel, causar una denegación de servicio (sobrescribir memoria y caída del kernel), u obtener privilegios a través de un valor negativo en el mimebro de estructura flen en el argumento arg en una llamada SETFKEY ioctl, lo que desencadena un \"desbordamiento de pila y memoria dinámica en dos sentidos\""}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":3.9,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-119"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:9.3:*:*:*:*:*:*:*","matchCriteriaId":"57052F01-8695-4C63-A947-7671375B9312"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:10.1:*:*:*:*:*:*:*","matchCriteriaId":"F6D63B21-9D2E-4B15-9E60-6181D44B1F55"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:10.2:*:*:*:*:*:*:*","matchCriteriaId":"21EFF723-7B5A-4712-8A6B-56CADAA4BFD5"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:10.3:*:*:*:*:*:*:*","matchCriteriaId":"E102E760-362C-4DC7-BDED-E2CF9F94ECE7"}]}]}],"references":[{"url":"http://cturt.github.io/SETFKEY.html","source":"cve@mitre.org","tags":["Exploit"]},{"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","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.asc","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://cturt.github.io/SETFKEY.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"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","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.asc","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}