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.
Metrics
Affected Vendors & Products
References
History
Mon, 09 Nov 2026 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Hnswlib
Hnswlib hnswlib Spotify Spotify voyager |
|
| Weaknesses | CWE-119 | |
| Vendors & Products |
Hnswlib
Hnswlib hnswlib Spotify Spotify voyager |
Mon, 09 Nov 2026 15:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write | |
| References |
|
Status: PUBLISHED
Assigner: certcc
Published: 2026-11-09T15:04:38.649Z
Updated: 2026-11-09T15:04:38.649Z
Reserved: 2026-11-09T15:02:37.082Z
Link: CVE-2026-124959
No data.
Status : Received
Published: 2026-11-09T15:17:19.357
Modified: 2026-11-09T15:17:19.357
Link: CVE-2026-124959
No data.
ReportizFlow