CVE Database›CVE-2026-103484

CVE-2026-103484

pgvector: pgvector: Arbitrary code execution via out-of-bounds write during IVFFlat index build

Loading…

Severity

Important

Red Hat Product Security

8.8

CVSS 3.1

Review impact separately from score.

Published · October 2, 2026

Updated · November 2, 2026

Description

A flaw was found in pgvector. An authenticated database user can trigger an out-of-bounds write during an Inverted File Flat (IVFFlat) index build operation. This vulnerability may allow the attacker to achieve arbitrary code execution or cause a crash resulting in a denial of service on the database server.

Statement

This vulnerability is rated as an Important severity issue because an authenticated database user with permissions to build vector indexes can trigger memory corruption within the PostgreSQL server process, potentially enabling arbitrary code execution. While exploiting the memory corruption allows execution of arbitrary code with the privileges of the postgres service account, the impact is bounded to authenticated database accounts that have rights to create tables and indexes. Deployments where untrusted clients cannot create database objects or where the optional pgvector extension is not enabled are not exposed to this risk.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Restrict schema creation permissions to prevent untrusted database accounts from building indexes, or remove the optional pgvector package if vector indexing is not needed.

CVSS / CWE

CVSS 3.1 · 8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-787 · Out-of-bounds Write