CVE-2026-3172 pgvector buffer overflow in parallel HNSW index build
A buffer overflow in pgvector's parallel HNSW index build allows database users to leak sensitive data or crash the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-3172?
CVE-2026-3172 is a high-severity memory corruption vulnerability in pgvector, published on 25 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-3172?
Linux distribution packages (40)
pgvector SUSE:Linux Enterprise Module for Server Applications 15 SP7 | All versions | 0.8.2-150600.13.9.1 |
postgresql16-pgvector SUSE:Linux Enterprise Module for Server Applications 15 SP7 | All versions | 0.8.2-150600.13.9.1 |
postgresql17-pgvector SUSE:Linux Enterprise Module for Server Applications 15 SP7 | All versions | 0.8.2-150600.13.9.1 |
postgresql18-pgvector SUSE:Linux Enterprise Module for Server Applications 15 SP7 | All versions | 0.8.2-150600.13.9.1 |
pgvector SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 0.8.2-150600.13.9.1 |
postgresql16-pgvector SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 0.8.2-150600.13.9.1 |
postgresql17-pgvector SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 0.8.2-150600.13.9.1 |
postgresql18-pgvector SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 0.8.2-150600.13.9.1 |
pgvector SUSE:Linux Enterprise Server 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql13-pgvector SUSE:Linux Enterprise Server 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql14-pgvector SUSE:Linux Enterprise Server 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql15-pgvector SUSE:Linux Enterprise Server 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql16-pgvector SUSE:Linux Enterprise Server 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql17-pgvector SUSE:Linux Enterprise Server 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql18-pgvector SUSE:Linux Enterprise Server 16.0 | All versions | 0.8.2-160000.1.1 |
pgvector SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | All versions | 0.8.2-150600.13.9.1 |
postgresql16-pgvector SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | All versions | 0.8.2-150600.13.9.1 |
postgresql17-pgvector SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | All versions | 0.8.2-150600.13.9.1 |
postgresql18-pgvector SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | All versions | 0.8.2-150600.13.9.1 |
pgvector SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql13-pgvector SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql14-pgvector SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql15-pgvector SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql16-pgvector SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql17-pgvector SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql18-pgvector SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 0.8.2-160000.1.1 |
pgvector openSUSE:Leap 15.6 | All versions | 0.8.2-150600.13.9.1 |
postgresql13-pgvector openSUSE:Leap 15.6 | All versions | 0.8.2-150600.13.9.1 |
postgresql14-pgvector openSUSE:Leap 15.6 | All versions | 0.8.2-150600.13.9.1 |
postgresql15-pgvector openSUSE:Leap 15.6 | All versions | 0.8.2-150600.13.9.1 |
postgresql16-pgvector openSUSE:Leap 15.6 | All versions | 0.8.2-150600.13.9.1 |
postgresql17-pgvector openSUSE:Leap 15.6 | All versions | 0.8.2-150600.13.9.1 |
postgresql18-pgvector openSUSE:Leap 15.6 | All versions | 0.8.2-150600.13.9.1 |
pgvector openSUSE:Leap 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql13-pgvector openSUSE:Leap 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql14-pgvector openSUSE:Leap 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql15-pgvector openSUSE:Leap 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql16-pgvector openSUSE:Leap 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql17-pgvector openSUSE:Leap 16.0 | All versions | 0.8.2-160000.1.1 |
postgresql18-pgvector openSUSE:Leap 16.0 | All versions | 0.8.2-160000.1.1 |
How do I fix CVE-2026-3172?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-3172 being exploited?
There is no known exploitation of CVE-2026-3172 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-3172, ECHO-6b5c-756e-cda5, GHSA-789c-mgqf-5hwx, SUSE-SU-2026:1068-1, SUSE-SU-2026:21153-1, UBUNTU-CVE-2026-3172 and 2 more.