CVE-2016-4332 Memory corruption in n/a
A heap buffer overflow in the HDF5 library allows attackers to execute arbitrary code via crafted files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-4332?
CVE-2016-4332 is a high-severity memory corruption vulnerability in Hdfgroup Hdf5, published on 18 Nov 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The library's failure to check if certain message types support a particular flag, the HDF5 1.8.16 library will cast the structure to an alternative structure and then assign to fields that aren't supported by the message type and the library will write outside the bounds of the heap buffer. This can lead to code execution under the context of the library.
Weakness: CWE-20
Which versions are affected by CVE-2016-4332?
It affects 1 product.
Products include Hdfgroup Hdf5.
How do I fix CVE-2016-4332?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2016-4332 being exploited?
There is no known exploitation of CVE-2016-4332 in the wild and no public exploit code.
Other vulnerabilities in Hdfgroup Hdf5
Sources
Also known as DEBIAN-CVE-2016-4332, GHSA-349c-4hpx-25pr, UBUNTU-CVE-2016-4332.