CVE-2026-18022

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

Published Jul 29, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Pgvector Project
Pgvector Project pgvector
CPEs cpe:2.3:a:pgvector_project:pgvector:*:*:*:*:*:postgresql:*:*
Vendors & Products Pgvector Project
Pgvector Project pgvector
Type Values Removed Values Added
First Time appeared Pgvector
Pgvector pgvector
Vendors & Products Pgvector
Pgvector pgvector
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title pgvector buffer overflow via integer wraparound in IVFFlat index build on 32-bit systems
Weaknesses CWE-190
CWE-787
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Oct 7, 2026, 2:15 AM
Reserved
Jul 28, 2026, 12:20 AM
Status
Analyzed
Published
Jul 29, 2026, 8:17 PM
Modified
Aug 20, 2026, 1:15 PM
Severity
Important
Public date
Jul 29, 2026, 6:55 PM