HDF5
cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*
- <= 1.14.6
A critical heap-based buffer overflow vulnerability has been identified in HDF5 versions through 1.14.6. The issue arises in the function H5F_addr_decode_len within the file H5Fint.c. The vulnerability is caused by inadequate validation of buffer lengths, allowing the function to read beyond the allocated memory. This flaw can lead to undefined behavior and potential security risks. The vulnerability must be exploited locally.
Exploitation of this vulnerability causes a heap-based buffer overflow, which can lead to undefined behavior, including memory corruption and the possibility of executing arbitrary code.
The vulnerability can be reproduced using a fuzzing approach. After compiling HDF5 with AddressSanitizer enabled, a specific fuzzer can be used to target the H5F_addr_decode_len function. The fuzzer should be crafted to provide input that exploits the buffer length validation issue, causing the function to read past the end of the allocated buffer.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.