CVE-2023-37365
6.5medium
hnswlib Double Free vulnerability
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.59% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-xwc8-rf6m-xr86PYSEC-2026-1450
Description
Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| hnswlib (PyPI) | before 0.8.0 | GitHub Advisory Database, PyPA Advisory Database |
| hnswlib_project hnswlib | 0.7.0 | NVD |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.
GitHub Advisory Database
Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.
References
| https://github.com/nmslib/hnswlib/issues/467 | exploit, issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-37365 | advisory | |
| https://github.com/nmslib/hnswlib/pull/484 | web | |
| https://github.com/nmslib/hnswlib/commit/f6d170ce0b41f9e75ace473b09df6e7872590757 | web | |
| https://github.com/nmslib/hnswlib | package | |
| https://pypi.org/project/hnswlib | package | |
| https://github.com/advisories/GHSA-xwc8-rf6m-xr86 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-37365 changed 2024-12-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xwc8-rf6m-xr86 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2023-37365 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1450 changed 2026-07-07 | CC-BY-4.0 |