UBUNTU-CVE-2023-37365

Source
https://ubuntu.com/security/CVE-2023-37365
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37365.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2023-37365
Upstream
Published
2023-06-30T19:15:00Z
Modified
2026-05-20T16:07:39Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

References

Affected packages

Ubuntu:22.04:LTS / hnswlib

Package

Name
hnswlib
Purl
pkg:deb/ubuntu/hnswlib?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.4.0-3build1
0.5.2-1
0.6.0-1
0.6.2-1
0.6.2-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-hnswlib",
            "binary_version":  "0.6.2-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37365.json"

Ubuntu:24.04:LTS / hnswlib

Package

Name
hnswlib
Purl
pkg:deb/ubuntu/hnswlib?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.7.0-1
0.7.0-2
0.7.0-2build1
0.8.0-1
0.8.0-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-hnswlib",
            "binary_version":  "0.8.0-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37365.json"

Ubuntu:25.10 / hnswlib

Package

Name
hnswlib
Purl
pkg:deb/ubuntu/hnswlib?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.0-1build3

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-hnswlib",
            "binary_version":  "0.8.0-1build3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37365.json"

Ubuntu:26.04:LTS / hnswlib

Package

Name
hnswlib
Purl
pkg:deb/ubuntu/hnswlib?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.0-1build3
0.8.0-1build4
0.8.0-1build5

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-hnswlib",
            "binary_version":  "0.8.0-1build5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37365.json"