CVE-2026-124959
published high CVSS 3.1 · 7.1Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spotify | Voyager | 2.0.7 through 2.1.1 (affected · custom) | certcc · cna |
| hnswlib | hnswlib | 0.5.0 through 0.9.0 (affected · custom) | certcc · cna |
Weaknesses
2- CWE-787 CWE-787 Out-of-bounds Write
- CWE-787 CWE-787 Out-of-bounds Write
References
3Provider assertions
2certcc · cna
Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7491ac14850e598850e74599f25773108c0be9f0a7f535398f55c3bd175c3181
- Ingested
- 12 Nov 2026, 16:47:15 UTC
- Source record
- Official CVE record