# CVE-2025-62608: MLX has heap-buffer-overflow in load()

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-11-21T18:02:38.000Z
- Modified: 2026-10-08T10:10:00.227Z
- Also known as: GHSA-w6vg-jg77-2qg6, PYSEC-2025-138
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ml-explore mlx: < 0.29.4; before 0.29.4
- mlx (PyPI): before 0.29.4

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/ml-explore/mlx/security/advisories/GHSA-w6vg-jg77-2qg6> (exploit, evidence, vendor-advisory, web)
- <https://github.com/ml-explore/mlx/pull/1> (fix, issue-tracking, patch, web)
- <https://github.com/ml-explore/mlx/pull/2> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-62608> (advisory)
- <https://github.com/ml-explore/mlx> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mlx/PYSEC-2025-138.yaml> (web)

## Sources

- CVE List: [CVE-2025-62608](https://www.cve.org/CVERecord?id=CVE-2025-62608), CVE Terms of Use, modified 2025-11-21
- GitHub Advisory Database: [GHSA-w6vg-jg77-2qg6](https://github.com/advisories/GHSA-w6vg-jg77-2qg6), CC-BY-4.0, modified 2026-06-06
- NVD: [CVE-2025-62608](https://nvd.nist.gov/vuln/detail/CVE-2025-62608), Public domain, modified 2026-10-08
- PyPA Advisory Database: [PYSEC-2025-138](https://osv.dev/vulnerability/PYSEC-2025-138), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2025-62608 · Whole record: https://cve.day/CVE-2025-62608.json · Rebuilt by cve.day 2026-11-25T22:59:07.924Z
