CVE-2023-37365

Description

Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.

Severity
MEDIUM
CVSS v3
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H · source nvd
Exploit chance (EPSS)
0.586%
chance of exploitation in the next 30 days
higher than 48.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2024-12-05

Timeline

  1. 2023-06-30Published by the CNA00:00 UTC
  2. 2023-06-30GitHub advisory published (GHSA-xwc8-rf6m-xr86)same day
  3. 2024-12-05CISA SSVC decision recorded524 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-xwc8-rf6m-xr86, affected packages:

PackageVulnerable versionsFixed in
PyPI hnswlibbefore 0.8.00.8.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
hnswlib_project hnswlib0.7.0no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources