Buffer overflow in Pgvector

CVE-2026-18022

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.

Vulnerability class: Integer Overflow

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • N/a Pgvector — versions 0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-18022?
CVE-2026-18022 is a high-severity vulnerability in Pgvector, classified under Integer Overflow or Wraparound. CVSS score: 8.8/10. Published 2026-07-29.
How severe is CVE-2026-18022?
High severity. CVSS v3 base score is 8.8 out of 10.