published 9 Nov 2026 · updated 12 Nov 2026
Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write
7.1HighCVSS 7.1EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Spotify | >=2.0.7 <=2.1.1 | ||
| hnswlib | >=0.5.0 <=0.9.0 |
Timeline
Every event on this vulnerability
PublishedCVE-2026-124959·
5.0Medium
Embed
A live severity badge for an advisory, README or ticket