CVE-2026-18022
pgvector: pgvector: Arbitrary Code Execution via Integer Wraparound
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 30, 2026
Updated · October 15, 2026
Description
A flaw was found in pgvector. An integer wraparound vulnerability exists during the IVFFlat index build process. This flaw allows a database user on a 32-bit system to write data outside of allocated memory buffers. Successful exploitation could lead to arbitrary code execution.
Statement
Only 32-bit systems are affected. Affected products support 64-bit systems only.
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
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-787 · Out-of-bounds Write