Technical impact
The vulnerability exists in HDF5’s H5O__chunk_deserialize() routine, where the declared message size is validated before the optional message header fields are decoded. Because the check does not account for up to four bytes of header data that precede the message body, a crafted HDF5 file can declare a message size that appears valid yet extends beyond the end of the chunk image. When the chunk’s decoder attempts to read the message’s callback data, it over-reads the heap allocation, potentially causing a crash (denial of service) or exposing a fragment of process memory.
Affected Systems
This flaw affects the HDF Group’s HDF5 library versions up to and including 2.2.0. Any installation that uses any of these versions and processes HDF5 files from untrusted or unauthenticated sources is susceptible. The issue is triggered during calls to H5Fopen(), which is the routine leveraged by applications to open HDF5 files.
Risk and Exploitability
The CVSS score of 1.9 indicates low severity. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting limited exploitation in the wild. The attack vector requires an attacker to supply a malicious HDF5 file that is opened by an application, so impact is limited to environments that parse HDF5 files without additional controls. Nonetheless, the over-read could lead to a crash or minor memory disclosure if the heap contents contain sensitive data. Overall risk remains low but an update is recommended to mitigate the exposed condition.