Advisory

GHSA-xwc8-rf6m-xr86

Also known as: CVE-2023-37365, PYSEC-2026-1450

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-06-30 21:30 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

hnswlib

PyPI · All systems

Affected

  • introduced 0, fixed 0.8.0 (ecosystem)

Fixed versions

0.8.0

Fix

  • Fixed version 0.8.0
    pip install --upgrade hnswlib==0.8.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences