CVE-2016-1886

HIGH

FreeBSD <9.3 p42, 10.1 p34, 10.2 p17, 10.3 p3 - Memory Corruption via SETFKEY ioctl

Title source: llm

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

Exploits (1)

exploitdb WORKING POC
by CTurt · cdosfreebsd_x86-64
https://www.exploit-db.com/exploits/44211

Scores

CVSS v3 7.8
EPSS 0.0022
EPSS Percentile 44.5%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-119
Status published
Products (4)
freebsd/freebsd 9.3
freebsd/freebsd 10.1
freebsd/freebsd 10.2
freebsd/freebsd 10.3
Published May 25, 2016
Tracked Since Feb 18, 2026