Skip to content
Fencer Intel
medium 6.5

CVE-2023-37365 json

hnswlib Double Free vulnerability

published 3y ago modified 4mo 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

Is CVE-2023-37365 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-15).

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 Intel 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.