CVE-2026-124959
JSON

7.1high

Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write

Severity
7.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
certcc

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.

Affected

Product or packageVersionsReported by
Spotify Voyagerfrom 2.0.7 up to 2.1.1CVE List
hnswlib hnswlibfrom 0.5.0 up to 0.9.0CVE List

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-124959 changed 2026-11-12CVE Terms of Use
NVDCVE-2026-124959 changed 2026-11-12Public domain