Live threats

All CVEs / Hnswlib Project

CVE-2023-37365Hnswlib Project Hnswlib

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.7%
probability of exploitation in 30 days · percentile 50
Auth required
No
Published
Jun 30, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-415
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hnswlib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI hnswlib < 0.8.0 0.8.0 pip install "hnswlib>=0.8.0"
PyPI hnswlib < 0.8.0 0.8.0 pip install "hnswlib>=0.8.0"

Per OSV / GitHub Advisories (GHSA-xwc8-rf6m-xr86, PYSEC-2026-1450). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hnswlib_projecthnswlib0.7.0

Official sources

References

Links published by the sources. Open them with care.

  • github.com Exploit Issue Tracking Third Party Advisory