JLSEC-2026-1560: Medium severity julia/hdf5_jll vulnerability
HDF5 through 2.2.0 contains an out-of-bounds read vulnerability in H5Zfilterszip() in src/H5Zszip.c. When decoding a szip-compressed chunk, the function subtracts the 4-byte uncompressed-length header from the chunk length without first verifying that the chunk is at least 4 bytes long. A truncated or corrupted chunk shorter than the header causes the length calculation to wrap around to a very large value, and the decompressor reads far past the end of the chunk buffer. An attacker who can get a user or application to read a dataset from a crafted HDF5 file can cause a denial of service. Only builds with szip support (libaec or the szip library) are affected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/HDF5_jllto a version that resolves this vulnerability.Fixed in 2.3.0+0
Event History
Frequently Asked Questions
Which deployments are affected?
Only HDF5 builds with szip support enabled through libaec or the szip library are affected. Builds without szip support are not affected by this issue.
What must an attacker do to trigger the flaw?
An attacker must cause a user or application to read a dataset from a crafted HDF5 file containing a truncated or corrupted szip-compressed chunk shorter than four bytes. User interaction is required to open or process the malicious file.
What is the practical impact?
The malformed chunk causes an out-of-bounds read in the szip decompressor path, which can cause a denial of service. The provided information does not indicate confidentiality or integrity impact.