Advisory

PYSEC-2025-138

Also known as: CVE-2025-62608, GHSA-w6vg-jg77-2qg6

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Dates

Published
2025-11-21 19:16 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

mlx

PyPI · All systems

Affected

  • introduced 0, fixed 0.29.4 (ecosystem)

Fixed versions

0.29.4

Fix

  • Fixed version 0.29.4
    pip install --upgrade mlx==0.29.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences