CVE-2026-124959

EUVD-2026-120081
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
certccCNA
UNKNOWN
---
Base Score
CVSS 3.x
EPSS Score
Percentile: Unknown
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources (CNA/ADP records, vendor advisories, Enginsight analysis).
VendorProductVersionSource
hnswlib_projecthnswlib
0.5.0 ≤
𝑥
≤ 0.9.0
CNA