PYSEC-2026-1450
Dashboard / Vulnerabilities / PYSEC-2026-1450
PYSEC-2026-1450
Published: 7 Jul 2026Last Modified: 7 Jul 2026
Aliases:
Summary: hnswlib Double Free vulnerability
Details: Hnswlib 0.7.0 has a double free in `init_index` when the M argument is a large integer.
References: https://nvd.nist.gov/vuln/detail/CVE-2023-37365, https://github.com/nmslib/hnswlib/issues/467, https://github.com/nmslib/hnswlib/pull/484, https://github.com/nmslib/hnswlib/commit/f6d170ce0b41f9e75ace473b09df6e7872590757, https://github.com/nmslib/hnswlib, https://pypi.org/project/hnswlib, https://github.com/advisories/GHSA-xwc8-rf6m-xr86
Affected packages
Package
Name: hnswlib
Purl: pkg:pypi/hnswlib
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -0.8.0
Affected versions
0.3.2.0
0.3.4
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
