| Name | CVE-2026-18022 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1143128 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| pgvector (PTS) | trixie | 0.8.0-1 | vulnerable |
| forky, sid | 0.8.5-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| pgvector | source | (unstable) | (unfixed) | unimportant | | 1143128 |
Notes
https://github.com/pgvector/pgvector/issues/1006
Fixed by: https://github.com/pgvector/pgvector/commit/636a92a3395d2e036ffd40d07aeb400a708ae104 (v0.8.6)
Only affects 32bit architectures, and Debian binary packages builds are
restricted to 64-bit architectures since 0.7.4-2. Not exploitable on non
32-bit architectures.