CVE-2026-124959

Source
https://cve.org/CVERecord?id=CVE-2026-124959
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124959.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-124959
Downstream
Published
2026-11-09T15:04:38Z
Modified
2026-11-14T02:30:47Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Nmaslib Hnswlib and Spotify Voyager HNSW Index Deserialization Heap Out-of-Bounds Write
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.

Database specific
{
    "cna_assigner":  "certcc",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124959.json"
}
References

Affected packages

Git / github.com/nmslib/hnswlib

Affected ranges

Type
GIT
Repo
https://github.com/nmslib/hnswlib
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.5.0"
                },
                {
                    "last_affected":  "0.9.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

v0.*
v0.5.0
v0.5.2
v0.6.0
v0.6.1
v0.6.2
v0.7.0
v0.8.0
v0.9.0

Database specific

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

Git / github.com/spotify/voyager

Affected ranges

Type
GIT
Repo
https://github.com/spotify/voyager
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.0.7"
                },
                {
                    "last_affected":  "2.1.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

v2.*
v2.0.7-re
v2.0.8
v2.0.9
v2.1.0
v2.1.1

Database specific

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