Heap-based buffer overflow in HDF5 - CVE-2016-4331
Published: April 25, 2018
Vulnerability identifier: #VU12153
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-4331
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local attacker to gain elevated privileges on the target system.
The weakness exists due to library's failure to ensure that the precision is within the bounds of the size when decoding data out of a dataset encoded with the H5Z_NBIT decoding. A local attacker can trigger heap-based buffer overflow and execute arbitrary code with root privileges.
Successful exploitation of the vulnerability may result in system compromise.
The weakness exists due to library's failure to ensure that the precision is within the bounds of the size when decoding data out of a dataset encoded with the H5Z_NBIT decoding. A local attacker can trigger heap-based buffer overflow and execute arbitrary code with root privileges.
Successful exploitation of the vulnerability may result in system compromise.
Affected software
HDF5
Debian Linux
Gentoo Linux
Fedora
hdf5
Debian Linux
Gentoo Linux
Fedora
hdf5
How to mitigate CVE-2016-4331
Install update from vendor's website.
hdf5 - addressed in versions 1.8.5.patch1-10.el6, 1.8.12-8.el7, 1.8.17-2.fc25