Double Free Affecting hnswlib package, versions <0.7.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.59% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-HNSWLIB-22391684
  • published10 Nov 2026
  • disclosed30 Jun 2023

Introduced: 30 Jun 2023

CVE-2023-37365  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Echo:latest hnswlib to version 0.7.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream hnswlib package and not the hnswlib package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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

CVSS Base Scores

version 3.1