Description
MLX is an array framework for machine learning on Apple silicon. Prior to version 0.29.4, there is a heap buffer overflow in mlx::core::load() when parsing malicious NumPy .npy files. Attacker-controlled file causes 13-byte out-of-bounds read, leading to crash or information disclosure. This issue has been patched in version 0.29.4.
Problem types
CWE-122: Heap-based Buffer Overflow
Product status
References
github.com/...re/mlx/security/advisories/GHSA-w6vg-jg77-2qg6
github.com/ml-explore/mlx/pull/1
github.com/ml-explore/mlx/pull/2