CVE Vulnerabilities

CVE-2023-37365

Double Free

Published: Jun 30, 2023 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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

Weakness

The product calls free() twice on the same memory address.

Affected Software

Name Vendor Start Version End Version
Hnswlib Hnswlib_project 0.7.0 (including) 0.7.0 (including)
Hnswlib Ubuntu bionic *
Hnswlib Ubuntu kinetic *
Hnswlib Ubuntu lunar *
Hnswlib Ubuntu mantic *
Hnswlib Ubuntu oracular *
Hnswlib Ubuntu trusty *
Hnswlib Ubuntu xenial *

Potential Mitigations

References