Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-124959
VULNERABILITY

CVE-2026-124959

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.1
Severity
HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Timeline

Published
Nov 9, 2026 15:17
Modified
Nov 12, 2026 19:22
Last observed
Nov 12, 2026 15:00

CWE

CWE-787

References