Keras model loading is vulnerable to denial of service through HDF5 shape bombs
The H5IOStore.__getitem__ method in Keras does not validate dataset shape or size when loading .keras files, allowing unbounded memory allocation. A crafted model file can cause an out-of-memory condition and terminate the process.
keras-team/keras
Medium