CVE-2025-62608
Ml-explore Mlx vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Mlx. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ml-explore Mlx runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ml-explore/mlx/security/advisories/GHSA-w6vg-jg77-2qg6
- github.com/ml-explore/mlx/pull/1
- github.com/ml-explore/mlx/pull/2
- nvd.nist.gov/vuln/detail/CVE-2025-62608
- github.com/advisories/GHSA-w6vg-jg77-2qg6
- github.com/pypa/advisory-database/tree/main/vulns/mlx/PYSEC-2025-138.yaml
- nvd.nist.gov/vuln/detail/CVE-2025-62608
- cve.org/CVERecord?id=CVE-2025-62608
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.