PatchSiren cyber security CVE debrief
CVE-2026-124959 Spotify CVE debrief
CVE-2026-124959 is a vulnerability in the loadIndex function of nmslib hnswlib and Spotify Voyager. The function does not verify that the element count in a serialized HNSW index is within the stored capacity used to allocate the heap buffer. This can cause the loader to write beyond the allocated buffer and potentially crash the application when it loads the file.
- Vendor
- Spotify
- Product
- Voyager
- CVSS
- HIGH 7.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-09
- Original CVE updated
- 2026-11-12
- Advisory published
- 2026-11-09
- Advisory updated
- 2026-11-12
Who should care
Defenders responsible for ensuring the integrity of HNSW index files and preventing potential crashes should prioritize verifying the element count in these files. This includes operators, platform administrators, vulnerability management teams, and security teams who need to assess the impact of this vulnerability on their systems and take appropriate measures to mitigate the risk.
Why it matters
CVE-2026-124959 is a vulnerability in nmslib hnswlib and Spotify Voyager that can cause application crashes due to buffer overflow. Defenders should prioritize verifying HNSW index file integrity and preventing potential crashes.
- Potential application crashes due to buffer overflow
- Need for verification of HNSW index file integrity
- Potential for denial-of-service attacks
Technical 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.
Defensive priority
Defenders should prioritize verifying the integrity of HNSW index files and ensuring that the element count is within the stored capacity to prevent potential crashes.
Recommended defensive actions
- Verify the integrity of HNSW index files
- Ensure that the element count is within the stored capacity
- Monitor application crashes and errors related to HNSW index loading
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and NVD entry provide limited information about the vulnerability. Further verification is required to determine the affected versions and potential impact. 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
Sources and references
Verified primary and authoritative sources
-
CVE-2026-124959 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-124959
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-124959 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-124959
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/nmslib/hnswlib
-
Source reference
Unverified legacy reference
URL: https://github.com/spotify/voyager
-
Source reference
Unverified legacy reference
URL: https://m00dy.sh/notes/when-an-hnsw-index-lies-about-its-capacity
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.