CVE-2016-5829 Memory corruption in n/a

High 7.8 Published Updated

Local attackers can trigger heap-based buffer overflows in the Linux kernel's HID driver via crafted ioctl calls, causing denial of service or potential code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2016-5829?

CVE-2016-5829 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 27 Jun 2016. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-119

Which versions are affected by CVE-2016-5829?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel, Novell Suse Linux Enterprise Real Time Extension.

How do I fix CVE-2016-5829?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-5829 being exploited?

There is no known exploitation of CVE-2016-5829 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-5829, GHSA-66jc-9397-h8vf, UBUNTU-CVE-2016-5829.

Is CVE-2016-5829 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free