{"id":"GHSA-xwc8-rf6m-xr86","summary":"hnswlib Double Free vulnerability","details":"Hnswlib 0.7.0 has a double free in `init_index` when the M argument is a large integer.","aliases":["CVE-2023-37365","PYSEC-2026-1450"],"modified":"2026-07-07T17:57:32.188550260Z","published":"2023-06-30T21:30:26Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-06-30T22:12:53Z","nvd_published_at":"2023-06-30T19:15:09Z","cwe_ids":["CWE-415"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37365"},{"type":"WEB","url":"https://github.com/nmslib/hnswlib/issues/467"},{"type":"WEB","url":"https://github.com/nmslib/hnswlib/pull/484"},{"type":"WEB","url":"https://github.com/nmslib/hnswlib/commit/f6d170ce0b41f9e75ace473b09df6e7872590757"},{"type":"PACKAGE","url":"https://github.com/nmslib/hnswlib"}],"affected":[{"package":{"name":"hnswlib","ecosystem":"PyPI","purl":"pkg:pypi/hnswlib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0"}]}],"versions":["0.3.2.0","0.3.4","0.4.0","0.5.0","0.5.1","0.5.2","0.6.0","0.6.1","0.6.2","0.7.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-xwc8-rf6m-xr86/GHSA-xwc8-rf6m-xr86.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}