Vulnerability · Published Jun 30, 2023 · Assigned by mitre
CVE-2023-37365
Medium 6.5
In plain English
A medium-severity security flaw in the hnswlib package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.6%top 51.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | hnswlib | 0.6.2-2+deb12u1 | DEBIAN-CVE-2023-37365 |
| Debian:13 | hnswlib | 0.7.0-1 | DEBIAN-CVE-2023-37365 |
| Debian:14 | hnswlib | 0.7.0-1 | DEBIAN-CVE-2023-37365 |
| PyPI | hnswlib | 0.8.0 | GHSA-xwc8-rf6m-xr86 |
| PyPI | hnswlib | 0.8.0 | PYSEC-2026-1450 |
| Ubuntu:22.04:LTS | hnswlib | no fix listed | UBUNTU-CVE-2023-37365 |
| Ubuntu:24.04:LTS | hnswlib | no fix listed | UBUNTU-CVE-2023-37365 |
| Ubuntu:25.10 | hnswlib | no fix listed | UBUNTU-CVE-2023-37365 |
| Ubuntu:26.04:LTS | hnswlib | no fix listed | UBUNTU-CVE-2023-37365 |
| Ubuntu:26.10 | hnswlib | no fix listed | UBUNTU-CVE-2023-37365 |