CVE-2024-32613
High · 7.4CVSS
7.4
EPSS
0.2%
Published
May 14, 2024
CISA due date
—
Cloudanix analysis
A flaw in a widely used data library can let attackers crash programs or peek at internal memory when certain files are opened, so updating the library stops the problem.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Data Exposure
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer over-read in H5HL__fl_deserialize during deserialization of local heap data allows reading past allocated buffer boundaries, enabling memory disclosure or process crash.
Why it matters to the business
Organizations processing untrusted HDF5 files risk application instability, potential sensitive data exposure from memory, and operational disruption in scientific computing or data analytics workflows; the high number of downstream dependents increases exposure across research and engineering environments.
How an attack unfolds
An attacker crafts a malicious HDF5 file that triggers the vulnerable deserialization path when opened by the library; the over-read occurs without authentication or user interaction beyond file loading, potentially leaking memory contents that aid further attacks.
How to fix it
Upgrade hdfgroup/hdf5 to commit 88429b015e29c59de604b0f552001fb7cb7ed5d0 or later; rebuild all dependent applications against the patched library; validate removal of the vulnerable code path in H5HLcache.c.
How to confirm the fix worked
Confirm the installed library reports a version containing commit 88429b015e29c59de604b0f552001fb7cb7ed5d0; test with known triggering HDF5 files to ensure no over-read occurs; review build logs for successful linkage against the fixed source.
Typical attack path
- Attacker prepares specially malformed HDF5 file containing crafted local heap structures
- Victim application or tool loads the file using the vulnerable HDF5 library version
- H5HL__fl_deserialize is invoked during cache processing, performing the buffer over-read
- Attacker observes crash or extracts leaked memory to gather information for follow-on exploitation
How to detect it
Monitor application logs and crash dumps for segmentation faults or memory errors originating from H5HLcache.c during HDF5 file processing; review process execution history for unexpected HDF5 file loads from untrusted sources.
What your security team should do
- Prioritize patching all HDF5 installations within 30 days given the memory corruption class and broad ecosystem use
- Inventory and update any software distributions or containers embedding hdfgroup/hdf5
- Implement file-type sandboxing or content validation for untrusted HDF5 inputs until patches are applied
The record
HDF5 Library through 1.14.3 contains a heap-based buffer over-read in the function H5HL__fl_deserialize in H5HLcache.c, a different vulnerability than CVE-2024-32612.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | hdf5 | 0 | No fix |
| Debian:12 | hdf5 | 0 | No fix |
| Debian:13 | hdf5 | 0 | No fix |
| Debian:13 | hdf5 | 0 | 1.14.5+repack-1 |
| Ubuntu:20.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:22.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:24.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:24.10 | hdf5 | 0 | No fix |
| Ubuntu:25.04 | hdf5 | 0 | No fix |
| Ubuntu:25.10 | hdf5 | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | hdf5 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | hdf5 | 0 | No fix |
Related vulnerabilities
- CVE-2024-32608 [Unknown description] Also affects hdf5
- CVE-2024-33876 HDF5 Library through 1.14.3 has a heap buffer overflow in H5S__point_deserialize in… Also affects hdf5
- CVE-2024-33875 HDF5 Library through 1.14.3 has a heap-based buffer overflow in H5O__layout_encode in… Also affects hdf5
- CVE-2024-33877 HDF5 Library through 1.14.3 has a heap-based buffer overflow in H5T__conv_struct_opt in… Also affects hdf5
- CVE-2024-33873 HDF5 Library through 1.14.3 has a heap-based buffer overflow in H5D__scatter_mem in… Also affects hdf5
- CVE-2024-33874 HDF5 Library through 1.14.3 has a heap buffer overflow in H5O__mtime_new_encode in… Also affects hdf5
- CVE-2024-32624 HDF5 Library through 1.14.3 contains a heap-based buffer overflow in H5T__ref_mem_setnull… Also affects hdf5
- CVE-2024-32619 HDF5 Library through 1.14.3 contains a heap-based buffer overflow in H5T_copy_reopen in… Also affects hdf5