hnswlibとSpotify Voyagerで細工されたインデックスを読み込むと任意のデータを書き込まれる脆弱性
Summary
hnswlibとSpotify VoyagerのHNSWインデックス読み込み処理に、ヒープ領域の範囲外書き込みの脆弱性が見つかりました。細工されたインデックスファイルを読み込ませると、アプリケーションがクラッシュするおそれがあります。影響するのはVoyagerの2.0.7から2.1.1まで、hnswlibの0.5.0から0.9.0までで、修正版の有無は公表されていません。最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
hnswlibとSpotify VoyagerのHNSWインデックス読み込み処理に、ヒープ領域の範囲外書き込みの脆弱性が見つかりました。細工されたインデックスファイルを読み込ませると、アプリケーションがクラッシュするおそれがあります。影響するのはVoyagerの2.0.7から2.1.1まで、hnswlibの0.5.0から0.9.0までで、修正版の有無は公表されていません。最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpotifyVoyager |
2.0.7 – 2.1.1→ Not listed |
Not listed |
| hnswlibhnswlib |
0.5.0 – 0.9.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-124959 hnswlib No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-124959 hnswlib No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- package github.com
- web m00dy.sh
- web github.com