CVE-2026-3172: pgvector buffer overflow in parallel HNSW index build
Vulnerability summary
CVE-2026-3172 is a high (CVSS 8.1) Integer Underflow (Wrap or Wraparound) vulnerability in pgvector. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 32.6% of scored vulnerabilities.
Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 25-02-2026PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
Description
Buffer overflow in parallel HNSW index build in pgvector 0.6.0 through 0.8.1 allows a database user to leak sensitive data from other relations or crash the database server.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
33%
Versus all other CVEs
30-day change
Decrease -0.18 pp
From 0.57% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-191Integer Underflow (Wrap or Wraparound)The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse26 products
- pgvector&distro=SUSE Linux Enterprise Module for Server Applications 15 SP7< 0.8.2-150600.13.9.1
- pgvector&distro=SUSE Linux Enterprise Server 15 SP6-LTSS< 0.8.2-150600.13.9.1
- pgvector&distro=SUSE Linux Enterprise Server 16.0< 0.8.2-160000.1.1
- pgvector&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP6< 0.8.2-150600.13.9.1
- pgvector&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 0.8.2-160000.1.1
Opensuse15 products
- pgvector&distro=openSUSE Leap 15.6< 0.8.2-150600.13.9.1
- pgvector&distro=openSUSE Leap 16.0< 0.8.2-160000.1.1
- pgvector&distro=openSUSE Tumbleweed< 0.8.2-1.1
- postgresql13-pgvector&distro=openSUSE Leap 15.6< 0.8.2-150600.13.9.1
- postgresql13-pgvector&distro=openSUSE Leap 16.0< 0.8.2-160000.1.1
Debian1 product
- pgvectorAll versions (No fix recorded) | < 0.8.2-1
Ubuntu1 product
- pgvectorAll versions (No fix recorded)
4 vendors · 43 products