CVE-2026-18022

NameCVE-2026-18022
DescriptionInteger 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.
SourceCVE (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 Bugs1143128

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pgvector (PTS)trixie0.8.0-1vulnerable
forky, sid0.8.5-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pgvectorsource(unstable)(unfixed)unimportant1143128

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.

Search for package or bug name: Reporting problems