CVE-2023-37365 json
hnswlib Double Free vulnerability
published 2023-06-30 3 y ago modified 2026-07-07 4 mo ago also GHSA-xwc8-rf6m-xr86 , PYSEC-2026-1450 , EUVD-2023-1919
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.
Patch / fix
- pypi hnswlib 0.8.0
- hnswlib Debian 12 0.6.2-2+deb12u1
- hnswlib Debian 14, Debian 13 0.7.0-1
debian advisories DEBIAN-CVE-2023-37365
- github.com/nmslib/hnswlib@f6d170c commit
- github.com/nmslib/hnswlib#484 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nmslib/hnswlib/issues/467 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | hnswlib | <0.8.0 |
0.8.0 |
Classification
- Weakness
-
- CWE-415 Double Free
References
-
github.com
/nmslib/hnswlib/pull/484
web
-
github.com
/nmslib/hnswlib/commit/f6d170ce0b41f9e75ace473b09df6e7872590757
web
-
github.com
/nmslib/hnswlib/issues/467
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-37365
advisory
-
github.com
/nmslib/hnswlib
package
-
pypi.org
/project/hnswlib
package
-
github.com
/advisories/GHSA-xwc8-rf6m-xr86
advisory
Sources
- CVE List CVE-2023-37365
- GitHub Advisory GHSA-xwc8-rf6m-xr86
- NVD CVE-2023-37365
- OSV PYSEC-2026-1450
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.