{"affected":[{"product":"Voyager","source":"CNA: certcc","vendor":"Spotify","versions":[{"lessThanOrEqual":"2.1.1","status":"affected","version":"2.0.7","versionType":"custom"}]},{"product":"hnswlib","source":"CNA: certcc","vendor":"hnswlib","versions":[{"lessThanOrEqual":"0.9.0","status":"affected","version":"0.5.0","versionType":"custom"}]}],"cveId":"CVE-2026-124959","cwes":["CWE-787"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[],"modifiedAt":1794236678649,"publishedAt":1794236678649,"references":[{"source":"CNA: certcc","tags":[],"url":"https://m00dy.sh/notes/when-an-hnsw-index-lies-about-its-capacity"},{"source":"CNA: certcc","tags":[],"url":"https://github.com/nmslib/hnswlib"},{"source":"CNA: certcc","tags":[],"url":"https://github.com/spotify/voyager"}],"remediation":[],"revision":"6b7a0c354b516627deea33750fd289502fb4af43ed9aea8886085de64706dc49","sources":[{"modifiedAt":1794236678649,"name":"CNA: certcc","retrievedAt":1794240623920,"url":"https://www.cve.org/CVERecord?id=CVE-2026-124959"}],"ssvc":null,"status":"published","title":"Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write","updatedAt":1794240623920}