Heap-based buffer overflow in HDF5 - CVE-2016-4330
Published: April 25, 2018
Vulnerability identifier: #VU12152
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-4330
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 the library's failure to check if the number of dimensions for an array read from the file is within the bounds of the space allocated for it. A local attacker can trigger heap-based buffer overflow and execute arbitrary code with root privileges on the target system.
Successful exploitation of the vulnerability may result in system compromise.
The weakness exists due to the library's failure to check if the number of dimensions for an array read from the file is within the bounds of the space allocated for it. A local attacker can trigger heap-based buffer overflow and execute arbitrary code with root privileges on the target system.
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-4330
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