{"id":"UBUNTU-CVE-2026-18022","details":"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.","modified":"2026-08-06T00:12:19Z","published":"2026-07-29T20:17:00Z","upstream":["CVE-2026-18022"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-18022"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-18022"},{"type":"REPORT","url":"https://github.com/pgvector/pgvector/issues/1006"},{"type":"REPORT","url":"https://github.com/pgvector/pgvector/commit/636a92a3395d2e036ffd40d07aeb400a708ae104"}],"affected":[{"package":{"name":"pgvector","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pgvector?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.4-1","0.5.1-1","0.6.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"postgresql-16-pgvector","binary_version":"0.6.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18022.json"}},{"package":{"name":"pgvector","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/pgvector?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0-1","0.8.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.8.1-2","binary_name":"postgresql-18-pgvector"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18022.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}