CVE-2026-124959
7.1high
Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write
- Severity
- 7.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- certcc
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Spotify Voyager | from 2.0.7 up to 2.1.1 | CVE List |
| hnswlib hnswlib | from 0.5.0 up to 0.9.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-124959 changed 2026-11-12 | CVE Terms of Use |
| NVD | CVE-2026-124959 changed 2026-11-12 | Public domain |