DEBIAN-CVE-2026-124959

Source
https://security-tracker.debian.org/tracker/CVE-2026-124959
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-124959.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-124959
Upstream
Published
2026-11-09T15:17:19Z
Modified
2026-11-10T08:13:11Z
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / hnswlib

Package

Name
hnswlib
Purl
pkg:deb/debian/hnswlib?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.6.2-2
0.6.2-2+deb12u1
0.7.0-1
0.7.0-2
0.8.0-1
0.9.0-1
0.9.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-124959.json"

Debian:13 / hnswlib

Package

Name
hnswlib
Purl
pkg:deb/debian/hnswlib?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.0-1
0.9.0-1
0.9.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-124959.json"

Debian:14 / hnswlib

Package

Name
hnswlib
Purl
pkg:deb/debian/hnswlib?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.0-1
0.9.0-1
0.9.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-124959.json"