CVE-2026-124959
Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write
- Severity
- high CVSS 7.1 (v3.1)
- Affects
- Voyager · Spotify
- Weakness
- CWE-787 Out-of-bounds Write
- Published
- 9 November 2026 by certcc
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.