Multiple heap-based buffer overflows in the hiddev_ioctl_usage function in…
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 18 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
Multiple heap-based buffer overflows in the hiddev_ioctl_usage function in drivers/hid/usbhid/hiddev.c in the Linux kernel through 4.6.3 allow local users to cause a denial of service or possibly have unspecified other impact via a crafted (1) HIDIOCGUSAGES or (2) HIDIOCSUSAGES ioctl call.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | before 3.2.82; 3.3 to before 3.10.103; 3.11 to before 3.12.62; 3.13 to before 3.14.74; 3.15 to before 3.16.37; 3.17 to before 3.18.37; 3.19 to before 4.1.28; 4.2 to before 4.4.16; 4.5 to before 4.6.5 | Vulnerable | Linux |
| cpe:2.3:o:novell:suse_linux_enterprise_real_time_extension:12:sp1:*:*:*:*:*:* | 12 sp1 | Vulnerable | Novell |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 3.2.82; 3.3 to before 3.10.103; 3.11 to before 3.12.62; 3.13 to before 3.14.74; 3.15 to before 3.16.37; 3.17 to before 3.18.37; 3.19 to before 4.1.28; 4.2 to before 4.4.16; 4.5 to before 4.6.5 Vulnerable ·Linux
- cpe:2.3:o:novell:suse_linux_enterprise_real_time_extension:12:sp1:*:*:*:*:*:* Versions 12 sp1 Vulnerable ·Novell
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
Remediation
Red Hat 3 advisories
- RHSA-2016:2584 Released 2016-11-03 · Red Hat rating Importantkernel-rt security, bug fix, and enhancement update
- Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt-3.10.0-514.rt56.420.el7, kernel-rt-debug-3.10.0-514.rt56.420.el7, kernel-rt-debug-devel-3.10.0-514.rt56.420.el7 +4
- Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt-3.10.0-514.rt56.420.el7, kernel-rt-debug-3.10.0-514.rt56.420.el7, kernel-rt-debug-devel-3.10.0-514.rt56.420.el7 +7
- RHSA-2016:2574 Released 2016-11-03 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) kernel-3.10.0-514.el7, kernel-abi-whitelists-3.10.0-514.el7, kernel-debug-3.10.0-514.el7 +8
- Red Hat Enterprise Linux Client Optional (v. 7) kernel-tools-libs-devel-3.10.0-514.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) kernel-3.10.0-514.el7, kernel-abi-whitelists-3.10.0-514.el7, kernel-debug-3.10.0-514.el7 +8
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-tools-libs-devel-3.10.0-514.el7
- Red Hat Enterprise Linux Server (v. 7) kernel-3.10.0-514.el7, kernel-abi-whitelists-3.10.0-514.el7, kernel-bootwrapper-3.10.0-514.el7 +11
- Red Hat Enterprise Linux Server Optional (v. 7) kernel-debug-devel-3.10.0-514.el7, kernel-tools-libs-devel-3.10.0-514.el7
- Red Hat Enterprise Linux Workstation (v. 7) kernel-3.10.0-514.el7, kernel-abi-whitelists-3.10.0-514.el7, kernel-debug-3.10.0-514.el7 +8
- Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-tools-libs-devel-3.10.0-514.el7
- RHSA-2016:2006 Released 2016-10-04 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) kernel-2.6.32-642.6.1.el6, kernel-abi-whitelists-2.6.32-642.6.1.el6, kernel-debug-2.6.32-642.6.1.el6 +6
- Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf-2.6.32-642.6.1.el6
- Red Hat Enterprise Linux HPC Node (v. 6) kernel-2.6.32-642.6.1.el6, kernel-abi-whitelists-2.6.32-642.6.1.el6, kernel-debug-2.6.32-642.6.1.el6 +6
- Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf-2.6.32-642.6.1.el6
- Red Hat Enterprise Linux Server (v. 6) kernel-2.6.32-642.6.1.el6, kernel-abi-whitelists-2.6.32-642.6.1.el6, kernel-bootwrapper-2.6.32-642.6.1.el6 +9
- Red Hat Enterprise Linux Server Optional (v. 6) python-perf-2.6.32-642.6.1.el6
- Red Hat Enterprise Linux Workstation (v. 6) kernel-2.6.32-642.6.1.el6, kernel-abi-whitelists-2.6.32-642.6.1.el6, kernel-debug-2.6.32-642.6.1.el6 +6
- Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf-2.6.32-642.6.1.el6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise MRG 2 | Affected | No fix yet |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2016:2574 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2016:2574 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2016:2574 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2016:2574 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2016:2006 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2016:2006 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2016:2006 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2016:2006 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2016:2006 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:2574 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2016:2006 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:2574 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2016:2006 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:2574 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2016:2006 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2016:2574 |
| Red Hat Enterprise Linux for Real Time (v. 7) | Fixed | RHSA-2016:2584 |
| Red Hat Enterprise Linux for Real Time for NFV (v. 7) | Fixed | RHSA-2016:2584 |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-5829
- 2026-10-03 Alias added: GHSA-66jc-9397-h8vf
References
Advisory 29
- USN-3070-1
- SUSE-SU-2016:2180
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- SUSE-SU-2016:1985
- openSUSE-SU-2016:2184
- SUSE-SU-2016:2174
- RHSA-2016:2584
- RHSA-2016:2574
- USN-3070-3
- SUSE-SU-2016:2018
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=93a2001bdfd5376c3dc2158653034c20392d15c5
- RHSA-2016:2006
- USN-3070-2
- SUSE-SU-2016:2181
- SUSE-SU-2016:2178
- USN-3071-1
- DSA-3616
- SUSE-SU-2016:2175
- USN-3070-4
- http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html
- SUSE-SU-2016:2177
- https://github.com/torvalds/linux/commit/93a2001bdfd5376c3dc2158653034c20392d15c5
- SUSE-SU-2016:2179
- [oss-security] 20160626 Re: CVE Request: Linux kernel HID: hiddev buffer overflows
- SUSE-SU-2016:2105
- USN-3072-2
- USN-3072-1
- USN-3071-2
- SUSE-SU-2016:1937
Sources
- CVE-2016-5829 · CVE Program
- CVE-2016-5829 · NVD
- FIRST EPSS
- GHSA-66jc-9397-h8vf · GitHub Advisory Database · CC BY 4.0
- CVE-2016-5829 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences