CVE-2026-124959
HIGH 7.1CVSS 3.1The 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.
- Published
- 9 Nov 2026
- Last modified
- 12 Nov 2026
- Assigned by
- cret@cert.org
- NVD status
- Deferred
- Weakness
- CWE-787
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
References
- https://github.com/nmslib/hnswlib
- https://github.com/spotify/voyager
- https://m00dy.sh/notes/when-an-hnsw-index-lies-about-its-capacity
History
- 25 Nov 2026 21:23 UTC ยท NVD: first stored (published 9 Nov 2026)