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.
References
Configurations
No configuration.
History
12 Nov 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-787 | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.1 |
09 Nov 2026, 15:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-09 15:17
Updated : 2026-11-12 19:22
NVD link : CVE-2026-124959
Mitre link : CVE-2026-124959
CVE.ORG link : CVE-2026-124959
JSON object : View
Products Affected
No product.
CWE
CWE-787
Out-of-bounds Write
