CVE-2026-18022 pgvector buffer overflow via integer wraparound in IVFFlat index build on 32-bit systems
A database user can trigger arbitrary code execution via an integer overflow in the IVFFlat index build on 32-bit systems.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-18022?
CVE-2026-18022 is a high-severity vulnerability in pgvector, published on 29 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Which versions are affected by CVE-2026-18022?
It affects 1 product.
Products include Pgvector Project Pgvector.
How do I fix CVE-2026-18022?
Upgrade to a fixed version.
Is CVE-2026-18022 being exploited?
There is no known exploitation of CVE-2026-18022 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-18022, ECHO-7790-2ea8-7d0b, GHSA-87hg-xjfg-qh5r, UBUNTU-CVE-2026-18022.