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.
Published: 2026-11-09
Score: n/a
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Hnswlib
Hnswlib hnswlib
Spotify
Spotify voyager
Weaknesses CWE-119
Vendors & Products Hnswlib
Hnswlib hnswlib
Spotify
Spotify voyager

Mon, 09 Nov 2026 15:15:00 +0000

Type Values Removed Values Added
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.
Title Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write
References

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2026-11-09T15:04:38.649Z

Reserved: 2026-11-09T15:02:37.082Z

Link: CVE-2026-124959

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T15:17:19.357

Modified: 2026-11-09T15:17:19.357

Link: CVE-2026-124959

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T16:45:13Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer