Catalogue CVE

CVE-2026-124959

hnswlib affected and fixed versions

[Catalogue CVE]

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.

Gravité
High · CVSS 7.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.16% · Nov 22, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
DebiantrixiehnswlibNot reportedAffectedDistribution reports no fix[CVE-2026-124959]
Debiantrixiehnswlib0.8.0-1Unknown[CVE-2026-124959]
DebiansidhnswlibNot reportedAffectedDistribution reports no fix[CVE-2026-124959]
Debiansidhnswlib0.9.0-2Unknown[CVE-2026-124959]
DebianforkyhnswlibNot reportedAffectedDistribution reports no fix[CVE-2026-124959]
Debianforkyhnswlib0.9.0-2Unknown[CVE-2026-124959]
DebianbookwormhnswlibNot reportedAffectedDistribution reports no fix[CVE-2026-124959]
Debianbookwormhnswlib0.6.2-2+deb12u1Unknown[CVE-2026-124959]
Ubuntu26.10hnswlib0.8.0-1build5Affected[UBUNTU-CVE-2026-124959]
Ubuntu26.10hnswlib0.9.0-2Affected[UBUNTU-CVE-2026-124959]
Ubuntu26.04hnswlib0.8.0-1build3Affected[UBUNTU-CVE-2026-124959]
Ubuntu26.04hnswlib0.8.0-1build4Affected[UBUNTU-CVE-2026-124959]
More observations (11)
Distribution / releasePackageVersionStatusSource
Ubuntu22.04hnswlib0.4.0-3build1Affected[UBUNTU-CVE-2026-124959]
Ubuntu22.04hnswlib0.5.2-1Affected[UBUNTU-CVE-2026-124959]
Ubuntu22.04hnswlib0.6.0-1Affected[UBUNTU-CVE-2026-124959]
Ubuntu22.04hnswlib0.6.2-1Affected[UBUNTU-CVE-2026-124959]
Ubuntu22.04hnswlib0.6.2-1build1Affected[UBUNTU-CVE-2026-124959]
Ubuntu24.04hnswlib0.7.0-1Affected[UBUNTU-CVE-2026-124959]
Ubuntu24.04hnswlib0.7.0-2Affected[UBUNTU-CVE-2026-124959]
Ubuntu24.04hnswlib0.7.0-2build1Affected[UBUNTU-CVE-2026-124959]
Ubuntu24.04hnswlib0.8.0-1Affected[UBUNTU-CVE-2026-124959]
Ubuntu24.04hnswlib0.8.0-1build1Affected[UBUNTU-CVE-2026-124959]
Ubuntu26.04hnswlib0.8.0-1build5Affected[UBUNTU-CVE-2026-124959]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libhnswlib-dev]Affectée

    Paquet source: [hnswlib]

    Détails (2)
    • 0.6.2-2+deb12u1 · all · bookworm

      Affectée

      dsa · hnswlib · debian · bookworm; pypi · hnswlib · debian · 12

    • 0.6.2-2+deb12u1 · all · bookworm

      Affectée

      dsa · hnswlib · debian · bookworm; pypi · hnswlib · debian · 12

  • [python3-hnswlib]Affectée

    Paquet source: [hnswlib]

    Détails (2)
    • 0.6.2-2+deb12u1 · amd64 · bookworm

      Affectée

      dsa · hnswlib · debian · bookworm; pypi · hnswlib · debian · 12

    • 0.6.2-2+deb12u1 · arm64 · bookworm

      Affectée

      dsa · hnswlib · debian · bookworm; pypi · hnswlib · debian · 12

[Debian 13 (Trixie)]

  • [libhnswlib-dev]Affectée

    Paquet source: [hnswlib]

    Détails (2)
    • 0.8.0-1 · all · trixie

      Affectée

      pypi · hnswlib · debian · 13

    • 0.8.0-1 · all · trixie

      Affectée

      pypi · hnswlib · debian · 13

  • [python3-hnswlib]Affectée

    Paquet source: [hnswlib]

    Détails (2)
    • 0.8.0-1+b4 · amd64 · trixie

      Affectée

      pypi · hnswlib · debian · 13

    • 0.8.0-1+b4 · arm64 · trixie

      Affectée

      pypi · hnswlib · debian · 13

Observé:

Références