Skip to content
Fencer Vulns
medium 6.5

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

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

References

Sources

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.