CVE-2016-9804 Memory corruption in n/a

Medium 5.3 Published Updated

A buffer overflow in BlueZ's hcidump tool allows attackers to cause a denial of service by processing a corrupted dump file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-9804?

CVE-2016-9804 is a medium-severity memory corruption vulnerability in n/a, published on 3 Dec 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In BlueZ 5.42, a buffer overflow was observed in "commands_dump" function in "tools/parser/csr.c" source file. The issue exists because "commands" array is overflowed by supplied parameter due to lack of boundary checks on size of the buffer from frame "frm->ptr" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.

Weakness: CWE-119

Which versions are affected by CVE-2016-9804?

It affects 1 product.

Products include Bluez Bluez.

How do I fix CVE-2016-9804?

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-9804 being exploited?

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

Sources

Also known as DEBIAN-CVE-2016-9804, GHSA-7f98-f74w-8q8j, ROOT-OS-DEBIAN-12-CVE-2016-9804, UBUNTU-CVE-2016-9804.

Is CVE-2016-9804 in your software?

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

Check your SBOMs for free