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.
Metrics
CVSS 3.1 7.1/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:HWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Nov 9, 2026
- Last modified
- Nov 12, 2026
- NVD status
- Deferred