{"id":"CVE-2023-37365","aliases":["CVE-2023-37365","GHSA-xwc8-rf6m-xr86","PYSEC-2026-1450"],"related":[],"kind":"vulnerability","state":"published","title":"hnswlib Double Free vulnerability","summary":"Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.","source":"cvelist"},{"lang":"en","text":"Hnswlib 0.7.0 has a double free in `init_index` when the M argument is a large integer.","format":"markdown","source":"ghsa"}],"published":"2023-06-30T00:00:00.000Z","modified":"2026-07-07T17:57:32.188Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.8.0"}],"ecosystem":"PyPI","package":"hnswlib","purl":"pkg:pypi/hnswlib","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.7.0"}],"vendor":"hnswlib_project","product":"hnswlib","cpe":"cpe:2.3:a:hnswlib_project:hnswlib:0.7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.8.0"}],"ecosystem":"PyPI","package":"hnswlib","purl":"pkg:pypi/hnswlib","source":"pysec"}],"references":[{"url":"https://github.com/nmslib/hnswlib/issues/467","tags":["exploit","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37365","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/nmslib/hnswlib/pull/484","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/nmslib/hnswlib/commit/f6d170ce0b41f9e75ace473b09df6e7872590757","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/nmslib/hnswlib","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/hnswlib","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-xwc8-rf6m-xr86","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-12-05T15:26:38.206Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-37365","url":"https://www.cve.org/CVERecord?id=CVE-2023-37365","licence":"CVE Terms of Use","modified":"2024-12-05T15:26:57.507Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xwc8-rf6m-xr86","url":"https://github.com/advisories/GHSA-xwc8-rf6m-xr86","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:32.188Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-37365","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37365","licence":"Public domain","modified":"2026-06-17T06:08:05.730Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1450","url":"https://osv.dev/vulnerability/PYSEC-2026-1450","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:43.447Z"}],"updatedAt":"2026-11-25T22:58:25.344Z","epss":{"score":0.00586,"percentile":0.49386,"date":"2026-12-01T12:00:22.000Z"}}