What’s Vulnerable › Vulnerabilities
CVE-2025-62608: MLX has heap-buffer-overflow in load()
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-11-21 · updated 2026-10-08
- Weakness: CWE-122
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.
Affected products
- ml-explore mlx: before 0.29.4 — fixed in 0.29.4
How to fix
Upgrade to a fixed version: ml-explore mlx 0.29.4. Check the vendor advisory for mitigations.
References
- https://github.com/ml-explore/mlx/pull/1
- https://github.com/ml-explore/mlx/pull/2
- https://github.com/ml-explore/mlx/security/advisories/GHSA-w6vg-jg77-2qg6
Get alerted when CVE-2025-62608 or the next vulnerability affects your stack