IT SBIT Services
Schneeberger
DEEN
CVE tracker

pgvector: Out-of-bounds write in IVFFlat index build

CVE-2026-103484High 8.8

← All vulnerabilities

Summary

pgvector, an open-source PostgreSQL extension for vector similarity search, contains an out-of-bounds write in the IVFFlat index build. A database user who is allowed to create an IVFFlat index can write data past the end of a buffer, which can lead to arbitrary code execution. The CVE record notes that PostgreSQL installations are not affected by default.

Affected

  • pgvector before 0.8.7 (CVE record: 0 to < 0.8.7; upstream issue: 0.8.6 and below)

Fixed in

  • pgvector 0.8.7
  • Red Hat: RHSA-2026:88359 (PostgreSQL 16 packages) and RHSA-2026:88360 (PostgreSQL 18 packages) ship pgvector 0.8.7

Workaround

Unknown. No vendor-documented workaround. Restricting who can create or reindex IVFFlat indexes reduces risk (not vendor-confirmed).

Exploitation

  • No evidence of exploitation found in the sources reviewed.
  • CISA SSVC assessment: exploitation none, automatable no, technical impact total.
  • No public proof of concept found.

Our recommendation

  • Upgrade pgvector to 0.8.7 or later, including container images and OS packages.
  • Confirm the installed version on all PostgreSQL servers.
  • Review which database roles can create or reindex IVFFlat indexes and limit these rights.
  • Separate migration roles from application roles where possible.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 31 Oct 2026, 22:55.

Original description (NVD)

IVFFlat index build in pgvector before 0.8.7 allows a database user to write data out-of-bounds, which can lead to arbitrary code execution.

NVD references (2)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.