Read the docs

Out-of-bounds write in hnswlib and Spotify Voyager index loading

Priority LOW 30CWE-787Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.

Summary

hnswlib from 0.5.0 through 0.9.0 and Spotify Voyager from 2.0.7 through 2.1.1 do not check the element count in a serialized HNSW index against its stored capacity. The loadIndex function uses that count to write past the heap buffer allocated for the index (CWE-787). A local user who is tricked into loading a crafted index file can crash the application.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00126 2nd percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
SpotifyVoyager2.0.7 – 2.1.1—No fix listedCNA
hnswlibhnswlib0.5.0 – 0.9.0—No fix listedCNA
  • Voyager VendorSpotify Affected 2.0.7 – 2.1.1 Fixed in — No fix listed CNA
  • hnswlib Vendorhnswlib Affected 0.5.0 – 0.9.0 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for hnswlib. The sources list no fixed version for Spotify Voyager.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-124959
  2. 2026-11-09 Alias added: GHSA-pvwj-4565-gq34
  3. 2026-11-12 CVSS score added · CISA ADP
  4. 2026-11-12 Weakness changed · CISA ADP
  5. 2026-11-12 CISA SSVC decision points changed

References

  • TI-2018-01083 OS command injection in Spotify Music Player CVSS 3.0HIGH 8.8
  • TI-2018-16065 Luigi version prior to version 2.8.0; after commit… CVSS 3.0HIGH 8.8

Sources