Skip to main content
No exploitation reportedFix available

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?

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
  1. 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 affected
    Affected
    • ≥ 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

  • CVE-2026-3172 Red Hat Product Security2 known affected

    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

Full record on NVD

Fix

  1. 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.…
  2. 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
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

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?

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.

Is CVE-2026-3172 actively exploited?

Active exploitation of CVE-2026-3172 has not been confirmed. Its EPSS score was 0.4% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-3172?

CVE-2026-3172 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.

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

Sources for this record