Skip to content

hnswlib Double Free vulnerability

Moderate severity GitHub Reviewed Published Jun 30, 2023 to the GitHub Advisory Database • Updated Nov 11, 2023

Package

pip hnswlib (pip)

Affected versions

<= 0.7.0

Patched versions

None

Description

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

References

Published by the National Vulnerability Database Jun 30, 2023
Published to the GitHub Advisory Database Jun 30, 2023
Reviewed Jun 30, 2023
Last updated Nov 11, 2023

Severity

Moderate
6.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2023-37365

GHSA ID

GHSA-xwc8-rf6m-xr86

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.