{"id":"CVE-2026-18022","aliases":["CVE-2026-18022"],"related":[],"kind":"vulnerability","state":"published","title":"pgvector buffer overflow via integer wraparound in IVFFlat index build on 32-bit systems","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"}],"published":"2026-07-29T18:55:54.658Z","modified":"2026-10-07T02:15:29.825Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-190","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.8.6","status":"affected"}],"product":"pgvector","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.8.6"}],"vendor":"pgvector_project","product":"pgvector","cpe":"cpe:2.3:a:pgvector_project:pgvector:*:*:*:*:*:postgresql:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pgvector/pgvector/issues/1006","tags":["issue-tracking","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pgvector/pgvector/commit/636a92a3395d2e036ffd40d07aeb400a708ae104","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Thanks to 0xJi3F for reporting this, as well as Thai Son Dinh from VinSOC Labs."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-30T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-18022","url":"https://www.cve.org/CVERecord?id=CVE-2026-18022","licence":"CVE Terms of Use","modified":"2026-10-07T02:15:29.825Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-18022","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18022","licence":"Public domain","modified":"2026-08-20T13:15:02.673Z"}],"updatedAt":"2026-11-25T22:59:30.477Z","epss":{"score":0.00334,"percentile":0.28705,"date":"2026-12-01T12:00:22.000Z"}}