Buffer overflow in FreeBSD
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 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."
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.011 (65.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 65.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- FreeBSD — versions 9.3, 10.1, 10.2
Weakness classification (CWE)
References
- www.securitytracker.com/id/1035905 (vdb-entry)
- www.securityfocus.com/bid/90734 (vdb-entry)
- www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.asc (vendor-advisory, Vendor Advisory)
- security.FreeBSD.org/patches/SA-16:18/atkbd.patch (Patch)
- cturt.github.io/SETFKEY.html (Exploit)
Frequently asked questions
- What is CVE-2016-1886?
- CVE-2016-1886 is a high-severity vulnerability in FreeBSD, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.8/10. Published 2016-05-25.
- How severe is CVE-2016-1886?
- High severity. CVSS v3 base score is 7.8 out of 10.