CVE-2026-124959 Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write
HighCVSS 7.1
EPSS 0.16%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 2 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/hnswlib(Debian 12) | = 0.6.2-2; = 0.6.2-2+deb12u1; = 0.7.0-1; = 0.7.0-2 +4 more | No fix listed | No fix yet |
| debian/hnswlib(Debian 13) | = 0.8.0-1; = 0.9.0-1; = 0.9.0-2; All versions | No fix listed | No fix yet |
| debian/hnswlib(Debian 14) | = 0.8.0-1; = 0.9.0-1; = 0.9.0-2; All versions | No fix listed | No fix yet |
| ubuntu/hnswlib(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/hnswlib(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/hnswlib(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/hnswlib(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| hnswlib | >= 0.5.0, <= 0.9.0 | after 0.9.0 | Fixed |
| Spotify Voyager | >= 2.0.7, <= 2.1.1 | after 2.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/hnswlib(Debian:12) | All versions | No fix listed |
| debian/hnswlib(Debian:14) | All versions | No fix listed |
| debian/hnswlib(Debian:13) | All versions | No fix listed |
| Spotify Voyager | >= 2.0.7, <= 2.1.1 | No fix listed |
| hnswlib | >= 0.5.0, <= 0.9.0 | No fix listed |
| debian/hnswlib(Debian:12) | = 0.6.2-2 | No fix listed |
| debian/hnswlib(Debian:12) | = 0.6.2-2+deb12u1 | No fix listed |
| debian/hnswlib(Debian:12) | = 0.7.0-1 | No fix listed |
| debian/hnswlib(Debian:12) | = 0.7.0-2 | No fix listed |
| debian/hnswlib(Debian:12) | = 0.8.0-1 | No fix listed |
| debian/hnswlib(Debian:12) | = 0.9.0-1 | No fix listed |
| debian/hnswlib(Debian:12) | = 0.9.0-2 | No fix listed |
| debian/hnswlib(Debian:13) | = 0.8.0-1 | No fix listed |
| debian/hnswlib(Debian:13) | = 0.9.0-1 | No fix listed |
| debian/hnswlib(Debian:13) | = 0.9.0-2 | No fix listed |
| debian/hnswlib(Debian:14) | = 0.8.0-1 | No fix listed |
| debian/hnswlib(Debian:14) | = 0.9.0-1 | No fix listed |
| debian/hnswlib(Debian:14) | = 0.9.0-2 | No fix listed |
| ubuntu/hnswlib(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/hnswlib(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/hnswlib(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/hnswlib(Ubuntu:26.10) | All versions | No fix listed |
References
- m00dy.sh
- github.com
- github.com
- Debian Security Tracker CVE-2026-124959 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-120081 third-party-advisory