cve.bz

CVE-2026-3172 Integer Underflow (Wrap or Wraparound)

8.1 highEPSS 0.4%

High (8.1). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-191 Integer Underflow (Wrap or Wraparound)
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-3172 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-3172?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-3172?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-3172 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13pgvectorno fix listedDEBIAN-CVE-2026-3172
Debian14pgvector0.8.2-1DEBIAN-CVE-2026-3172
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morepgvectorno fix listedUBUNTU-CVE-2026-3172
SUSELinux Enterprise Module for Server Applications 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6pgvector, postgresql16-pgvector, postgresql17-pgvector and 1 more0.8.2-150600.13.9.1SUSE-SU-2026:1068-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0pgvector, postgresql13-pgvector, postgresql14-pgvector and 4 more0.8.2-160000.1.1SUSE-SU-2026:21153-1
openSUSELeap 15.6pgvector, postgresql13-pgvector, postgresql14-pgvector and 4 more0.8.2-150600.13.9.1SUSE-SU-2026:1068-1
openSUSELeap 16.0pgvector, postgresql13-pgvector, postgresql14-pgvector and 4 more0.8.2-160000.1.1openSUSE-SU-2026:20489-1
openSUSETumbleweedpgvector0.8.2-1.1openSUSE-SU-2026:10409-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A buffer overflow during parallel HNSW index builds can be exploited by a database user, potentially leading to information disclosure from other database relations or a denial of service by crashing the database server, although the high impact on availability and confidentiality Red Hat Product Security team has rated this as having a moderate severity. This happens because, besides the low privileges required, to successfully exploit this flaw the attack needs to win a race condition among several worker threads which may be a task considered of a high complexity.

Red Hat's mitigation

To 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. A restart of the PostgreSQL service is required for the changes to take effect.

ProductPackageStateAdvisory
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Fix deferred
Red Hat Enterprise Linux 10postgresql16-pgvectorUnder investigation
Red Hat Enterprise Linux 10postgresql18-pgvectorUnder investigation
Red Hat Enterprise Linux 9postgresql:16/pgvectorUnder investigation
Red Hat Enterprise Linux 9postgresql:18/pgvectorUnder investigation
Red Hat Trusted Profile Analyzerrhtpa/rhtpa-trustification-service-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-3172.

References

Check your stackJSON