|
| 1 | +--- |
| 2 | +title: CVE-2026-3172 - pgvector buffer overflow in parallel HNSW index build |
| 3 | +navTitle: CVE-2026-3172 |
| 4 | +affectedProducts: EDB Postgres Extended Server, EDB Postgres Advanced Server, EDB Cloud Service (formerly BigAnimal), Hybrid Manager (HM), EDB Postgres® AI for CloudNativePG™, WarehousePG, pgvector versions 0.6.0-0.8.1, aidb, pgpu |
| 5 | +--- |
| 6 | + |
| 7 | +First Published: 2026/03/10 |
| 8 | + |
| 9 | +Important: This assessment evaluates the impact of CVE-2026-3172 on EDB products and services. It links to and details the CVE and supplements that information with EDB's own assessment. |
| 10 | + |
| 11 | +## Summary |
| 12 | + |
| 13 | +A buffer overflow in the parallel HNSW (Hierarchical Navigable Small World) index build process in the `pgvector` extension allows an authenticated database user to issue crafted queries that achieve a buffer overrun. |
| 14 | +This can lead to the leaking of sensitive data from other relations or a crash of the database server. The vulnerability is specifically triggered during concurrent index construction when multiple worker processes are utilized. |
| 15 | + |
| 16 | +## Vulnerability details |
| 17 | + |
| 18 | +CVE-ID: [CVE-2026-3172](https://nvd.nist.gov/vuln/detail/CVE-2026-3172) |
| 19 | + |
| 20 | +CVE Publish Date: 2026-02-25 |
| 21 | + |
| 22 | +CVSS Base Score: 8.1 |
| 23 | + |
| 24 | +CVSS Temporal Score: Undefined |
| 25 | + |
| 26 | +CVSS Environmental Score: Undefined |
| 27 | + |
| 28 | +CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| 29 | + |
| 30 | +## Affected products and versions |
| 31 | + |
| 32 | +### EDB Cloud and Managed Services |
| 33 | +* EDB Postgres Extended Server |
| 34 | +* EDB Postgres Advanced Server |
| 35 | +* EDB Cloud Service (formerly BigAnimal) |
| 36 | +* Hybrid Manager (HM) |
| 37 | +* EDB Postgres® AI for CloudNativePG™ (All community and EDB Postgres® AI for CloudNativePG™ versions) |
| 38 | +* WarehousePG |
| 39 | + |
| 40 | +### Affected Extensions |
| 41 | +* pgvector: All versions from 0.6.0 through 0.8.1 |
| 42 | +* aidb |
| 43 | +* pgpu |
| 44 | + |
| 45 | +## Remediation/fixes |
| 46 | + |
| 47 | +Remediation for this CVE requires updating the extension version within the database. Updating the underlying EDB product version alone may not apply the fix to existing databases. |
| 48 | + |
| 49 | +### pgvector Extension |
| 50 | + |
| 51 | +| Affected Version | Fixed In | Fix Published | |
| 52 | +|------------------|----------|---------------| |
| 53 | +| 0.6.0 to 0.8.1 | 0.8.2 | 2026-02-25 | |
| 54 | + |
| 55 | +### aidb Extension |
| 56 | + |
| 57 | +| Affected Version | Fixed In | Fix Published | |
| 58 | +|-----------------------|-------------------------------|---------------| |
| 59 | +| All prior to Feb 2026 | Updated with 0.8.2 dependency | 2026-02-25 | |
| 60 | + |
| 61 | +### pgpu Extension |
| 62 | + |
| 63 | +| Affected Version | Fixed In | Fix Published | |
| 64 | +|-----------------------|-------------------------------|---------------| |
| 65 | +| All prior to Feb 2026 | Updated with 0.8.2 dependency | 2026-02-25 | |
| 66 | + |
| 67 | +## References |
| 68 | + |
| 69 | +* [CVSS Calculator v3.1](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator) |
| 70 | +* [NVD - CVE-2026-3172 Detail](https://nvd.nist.gov/vuln/detail/CVE-2026-3172) |
| 71 | +* [GitHub Advisory GHSA-789c-mgqf-5hwx](https://github.com/advisories/GHSA-789c-mgqf-5hwx) |
| 72 | + |
| 73 | +## Related information |
| 74 | + |
| 75 | +* [EnterpriseDB](https://www.enterprisedb.com/) |
| 76 | +* [EDB Docs - pgvector Extension](https://www.enterprisedb.com/docs/pg_extensions/pgvector/) |
0 commit comments