H5Z_filternbit in H5Znbit.c in HDF5 through 2.3.0 dereferences cdvalues[0] through cdvalues[4] without validating that cdvalues is non-NULL or that cdnelmts is at least 5, the fixed size of the filter's header. This allows attackers to cause a denial of service via a crafted HDF5 file that stores the N-Bit filter pipeline message with zero client-data values, opened and read via H5Dread, e.g. by the h5ls or h5repack tools.