Heap-based buffer overflow in HDF5 - CVE-2016-4333

 

Heap-based buffer overflow in HDF5 - CVE-2016-4333

Published: April 25, 2018


Vulnerability identifier: #VU12155
CSH Severity: Low
CVSS v4.0: 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/E:U/U:Clear
CVE-ID: CVE-2016-4333
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: HDF Group
Affected software:
HDF5

Detailed vulnerability description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The weakness exists due to the library allocating space for the array using a value from the file has an impact within the loop for initializing said array allowing a value within the file to modify the loop's terminator. A local attacker can cause the loop's index to point outside the bounds of the array when initializing it, trigger heap-based buffer overflow and execute arbitrary code with root privileges.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2016-4333

Install update from vendor's website.

Sources