CVE-2026-124959Published Nov 9, 2026 · Nov 9Updated 6d ago
Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write
Spotify Voyager · hnswlib
High7.1
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Spotify Voyager |
| No fix yet |
| hnswlib hnswlib |
| No fix yet |
Original description
The loadIndex function in nmslib hnswlib and Spotify Voyager does not verify that the element count in a serialized HNSW index is within the stored capacity used to allocate the heap buffer. An attacker can supply a crafted index file with an element count greater than the stored capacity, causing the loader to write beyond the allocated buffer and potentially crash the application when it loads the file.
From the CVE record · certcc