HDF5
cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*
- 1.14.6
A critical heap-based buffer overflow vulnerability has been identified in HDF5 version 1.14.6. The issue arises in the Metadata Attribute Decoder component, specifically within the H5MM_strndup function. This vulnerability allows for memory corruption and application crashes, and could potentially be exploited for arbitrary code execution. The buffer overflow occurs when the library reads 5 bytes beyond the boundary of a 320-byte heap-allocated memory region. Exploitation of this vulnerability requires local access.
Exploitation of this vulnerability leads to a heap-based buffer overflow, causing memory corruption and application crashes. This vulnerability could also be exploited to execute arbitrary code.
The vulnerability can be reproduced by compiling the HDF5 library with AddressSanitizer enabled, which will detect the heap-buffer-overflow error. After compiling the library, the 'h5dump' tool can be used to process a crafted HDF5 file that triggers the vulnerability. The AddressSanitizer will report the heap-buffer-overflow error, indicating that the vulnerability has been successfully exploited.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.