Vulnerability · Published Jul 29, 2026 · Assigned by PostgreSQL

CVE-2026-18022pgvector buffer overflow via integer wraparound in IVFFlat index build on 32-bit systems

High 8.8

In plain English

A high-severity integer overflow in pgvector. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.6%top 51.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Integer wraparound in IVFFlat index build in pgvector before 0.8.6 allows a database user to write data out-of-bounds, which could lead to arbitrary code execution. Only 32-bit systems are affected.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13pgvectorno fix listedDEBIAN-CVE-2026-18022
Debian:14pgvector0.8.6-1DEBIAN-CVE-2026-18022
Ubuntu:24.04:LTSpgvectorno fix listedUBUNTU-CVE-2026-18022
Ubuntu:26.04:LTSpgvectorno fix listedUBUNTU-CVE-2026-18022
Ubuntu:26.10pgvectorno fix listedUBUNTU-CVE-2026-18022

Affected products (as reported)

VendorProductVersions
n/a pgvector 0 – before 0.8.6

Weakness: CWE-190, CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References