Every CVE Search/ Get API key

CVE-2023-37365

hnswlib Double Free vulnerability

6.5 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.59%Up 0.5 points since Jul 1, 2023
90%50%10%1%

What each source reports

NVD Score used 6.5

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

Record
CVE-2023-37365
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-415
Updated
2026-11-02
CVE List No score

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

Record
CVE-2023-37365
Updated
2026-11-02
EUVDEUVD-2023-1919 No score

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

Record
EUVD-2023-1919
Updated
2026-11-03
GitHub AdvisoriesGHSA-xwc8-rf6m-xr86 6.5

hnswlib Double Free vulnerability

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

Record
GHSA-xwc8-rf6m-xr86
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-415
Updated
2026-11-02
OSVDEBIAN-CVE-2023-37365 6.5

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

Record
DEBIAN-CVE-2023-37365
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-xwc8-rf6m-xr86 6.5

hnswlib Double Free vulnerability

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

Record
GHSA-xwc8-rf6m-xr86
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-415
Updated
2026-11-02
OSVPYSEC-2026-1450 6.5

hnswlib Double Free vulnerability

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

Record
PYSEC-2026-1450
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-37365 6.5

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

Record
UBUNTU-CVE-2023-37365
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV No score

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

Record
CVE-2023-37365
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
hnswlib
PyPI
before 0.8.0
0.8.0
hnswlib
Debian:12
before 0.6.2-2+deb12u1, plus listed versions
0.6.2-2
0.6.2-2+deb12u1
hnswlib
Debian:13
before 0.7.0-1
0.7.0-1
hnswlib
Debian:14
before 0.7.0-1
0.7.0-1
hnswlib
PyPI
before 0.8.0, plus listed versions
0.3.2.00.3.40.4.00.5.00.5.1
Show 5 moreShow less
0.5.20.6.00.6.10.6.20.7.0
0.8.0
hnswlib
Ubuntu:22.04:LTS
All versions, plus listed versions
0.4.0-3build10.5.2-10.6.0-10.6.2-10.6.2-1build1
None known
hnswlib
Ubuntu:24.04:LTS
All versions, plus listed versions
0.7.0-10.7.0-20.7.0-2build10.8.0-10.8.0-1build1
None known
hnswlib
Ubuntu:25.10
All versions, plus listed versions
0.8.0-1build3
None known
hnswlib
Ubuntu:26.10
All versions, plus listed versions
0.8.0-1build50.9.0-2
None known
hnswlib
Ubuntu:26.04:LTS
All versions, plus listed versions
0.8.0-1build30.8.0-1build40.8.0-1build5
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-37365 is a medium vulnerability (CVSS 6.5) in Hnswlib Project Hnswlib, published June 30, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.59%, the 48th percentile. Fixed in hnswlib 0.8.0.

References

Show 5 moreShow less
MoveEnter Open