---
title: "CVE-2026-124959"
canonical_url: "https://pkgseek.com/security/CVE-2026-124959"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-124959

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.

CVE-2026-124959 严重级别为 HIGH (7.1)，共索引 2 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: HIGH (7.1)
- **受影响构建数**: 2
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libhnswlib-dev | 0.8.0-1 | — |
| Debian | trixie | python3-hnswlib | 0.8.0-1+b4 | — |
