CVE-2026-18022
8.8high
pgvector buffer overflow via integer wraparound in IVFFlat index build on 32-bit systems
- Severity
- 8.8high CVSS:3.1 by PostgreSQL
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- PostgreSQL
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
| Product or package | Versions | Reported by |
|---|---|---|
| pgvector | before 0.8.6 | CVE List |
| pgvector_project pgvector | before 0.8.6 | NVD |
Classification
References
| https://github.com/pgvector/pgvector/issues/1006 | issue-tracking, vendor-advisory | |
| https://github.com/pgvector/pgvector/commit/636a92a3395d2e036ffd40d07aeb400a708ae104 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18022 changed 2026-10-07 | CVE Terms of Use |
| NVD | CVE-2026-18022 changed 2026-08-20 | Public domain |