{"id":"CVE-2023-37365","aliases":["DEBIAN-CVE-2023-37365","EUVD-2023-1919","GHSA-xwc8-rf6m-xr86","PYSEC-2026-1450","UBUNTU-CVE-2023-37365"],"status":"published","title":"hnswlib Double Free vulnerability","description":"Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00586,"percentile":0.48361,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415"],"published":"2023-06-30T00:00:00Z","modified":"2026-10-28T02:30:37Z","fixes":[{"ecosystem":"PyPI","package":"hnswlib","fixed_in":["0.8.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"hnswlib","fixed_in":["0.6.2-2+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"hnswlib","fixed_in":["0.7.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"hnswlib","fixed_in":["0.7.0-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"hnswlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"hnswlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2-2+deb12u1"}]}],"versions":["0.6.2-2"]},{"source":"osv","ecosystem":"Debian:13","package":"hnswlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"hnswlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"hnswlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-3build1","0.5.2-1","0.6.0-1","0.6.2-1","0.6.2-1build1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"hnswlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.0-1","0.7.0-2","0.7.0-2build1","0.8.0-1","0.8.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"hnswlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0-1build3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"hnswlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0-1build5","0.9.0-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"hnswlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0-1build3","0.8.0-1build4","0.8.0-1build5"]}],"products":[{"vendor":"hnswlib_project","product":"hnswlib"}],"references":[{"url":"https://github.com/nmslib/hnswlib/issues/467","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37365","tags":["advisory"]},{"url":"https://github.com/nmslib/hnswlib/pull/484","tags":["web"]},{"url":"https://github.com/nmslib/hnswlib/commit/f6d170ce0b41f9e75ace473b09df6e7872590757","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xwc8-rf6m-xr86","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37365.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-37365","tags":["advisory"]},{"url":"https://github.com/nmslib/hnswlib","tags":["package"]},{"url":"https://pypi.org/project/hnswlib","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2023-37365","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-37365","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-37365","description":"Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.","status":"published","published":"2023-06-30T00:00:00Z","modified":"2024-12-05T15:26:57.507Z","updated_at":"2026-11-02T14:35:16.771348Z"}],"euvd":[{"id":"EUVD-2023-1919","description":"Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.","status":"published","published":"2023-06-30T00:00:00Z","modified":"2024-12-05T15:26:57Z","updated_at":"2026-11-03T00:04:40.064683Z"}],"ghsa":[{"id":"GHSA-xwc8-rf6m-xr86","title":"hnswlib Double Free vulnerability","description":"Hnswlib 0.7.0 has a double free in `init_index` when the M argument is a large integer.","status":"published","published":"2023-06-30T21:30:26Z","modified":"2026-03-25T15:04:47Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:39:41.724707Z"}],"nvd":[{"id":"CVE-2023-37365","description":"Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.","status":"published","published":"2023-06-30T19:15:09.437Z","modified":"2026-06-17T06:08:05.73Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:08:14.715708Z"}],"osv":[{"id":"DEBIAN-CVE-2023-37365","description":"Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.","status":"published","published":"2023-06-30T19:15:09.437Z","modified":"2026-10-26T18:02:29.539847303Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:39.980321Z"},{"id":"GHSA-xwc8-rf6m-xr86","title":"hnswlib Double Free vulnerability","description":"Hnswlib 0.7.0 has a double free in `init_index` when the M argument is a large integer.","status":"published","published":"2023-06-30T21:30:26Z","modified":"2026-07-07T17:57:32.18855026Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:47:00.604718Z"},{"id":"PYSEC-2026-1450","title":"hnswlib Double Free vulnerability","description":"Hnswlib 0.7.0 has a double free in `init_index` when the M argument is a large integer.","status":"published","published":"2026-07-07T11:45:19.660215Z","modified":"2026-07-07T17:47:43.447013871Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:52:54.622769Z"},{"id":"UBUNTU-CVE-2023-37365","description":"Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.","status":"published","published":"2023-06-30T19:15:00Z","modified":"2026-10-17T12:56:24.622801082Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:54:21.882004Z"},{"id":"CVE-2023-37365","description":"Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.","status":"published","published":"2023-06-30T00:00:00Z","modified":"2026-10-28T02:30:37.65425594Z","updated_at":"2026-11-02T15:44:32.510144Z"}]}}
