CVE-2026-3172
pgvector buffer overflow in parallel HNSW index build
No exploitation reported by the sources we read.
- Published2026-02-25
- WeaknessCWE-191 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-02-2521:16CVE publishedNVD
Versions per branch
Products declared by the CNA1 product
As PostgreSQL, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- pgvectorother versions: not affectedAffected
- ≥ 0.8.0, < 0.8.2fixed in 0.8.2semver
- = 0.7.0no fix statedsemver
- = 0.6.0no fix statedsemver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-02-25
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- pgvectorUbuntu:26.10all versions · no fixed version listed
- pgvectorUbuntu:26.04:LTSall versions · no fixed version listed
- pgvectorUbuntu:25.10all versions · no fixed version listed
- pgvectorUbuntu:24.04:LTSall versions · no fixed version listed
- pgvectorSUSE:Linux Enterprise Server for SAP applications 16.0all versions · fixed in 0.8.2-160000.1.1and 6 other packages
- pgvectorSUSE:Linux Enterprise Server for SAP Applications 15 SP6all versions · fixed in 0.8.2-150600.13.9.1and 3 other packages
- pgvectorSUSE:Linux Enterprise Server 16.0all versions · fixed in 0.8.2-160000.1.1and 6 other packages
- pgvectorSUSE:Linux Enterprise Server 15 SP6-LTSSall versions · fixed in 0.8.2-150600.13.9.1and 3 other packages
8 more package ranges on OSV.dev
Vendor advisories
pgvector: pgvector: Information disclosure or denial of service via buffer overflow in parallel HNSW index build
openshift-lightspeed/lightspeed-ocp-rag-rhel9 as a component of OpenShift Lightspeed · rhtpa/rhtpa-trustification-service-rhel9 as a component of Red Hat Trusted Profile Analyzer
Fix
- Workaround from the vendor Red Hat Product Security CVE-2026-3172 · 2 productsTo mitigate this issue, restrict the use of parallel index builds in PostgreSQL. This can be achieved by setting the `max_parallel_workers_per_gather` parameter to `0` in the `postgresql.conf` file. This configuration change may impact the performance of other parallel operations within PostgreSQL.…
- No fix available, says the vendor Red Hat Product Security CVE-2026-3172 · 2 productsFix deferred
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2026-02-26
- CNACVSS 3.18.1known since 2026-10-23
- CNAweakness (CWE)CWE-191, CWE-787known since 2026-10-23
- FIRST EPSSEPSS score0.4 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2026-8743same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-789c-mgqf-5hwxsame flawGitHub Advisory Database · CC-BY-4.0
- openSUSE-SU-2026:10409-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20489-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2026:1068-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:21153-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Published
- 2026-02-25
- Last modified
- 2026-06-17
- NVD status
- Deferred
- GitHub advisory
- GHSA-789c-mgqf-5hwx
Frequently asked questions
What is CVE-2026-3172?
Is CVE-2026-3172 actively exploited?
What is the CVSS score for CVE-2026-3172?
Running pgvector? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-103484same productpgvector buffer overflow in IVFFlat index build
- CVE-2026-18022same product
- CVE-2026-20127KEVsame weekCisco Catalyst SD-WAN Controller Authentication Bypass Vulnerability
- CVE-2026-20133KEVsame week
- CVE-2026-20122KEVsame weekCisco Catalyst SD-WAN Manager Arbitrary File Overwrite Vulnerability
- CVE-2026-22719KEVsame week
- CVE-2026-20128KEVsame week
- CVE-2026-27966same week
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-789c-mgqf-5hwx
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0