# CVE-2026-18022: pgvector buffer overflow via integer wraparound in IVFFlat index build on 32-bit systems

- Severity: High 8.8 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-07-29T18:55:54.658Z
- Modified: 2026-10-07T02:15:29.825Z
- Weaknesses: CWE-190, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- pgvector: before 0.8.6
- pgvector_project pgvector: before 0.8.6

## References

- <https://github.com/pgvector/pgvector/issues/1006> (issue-tracking, vendor-advisory)
- <https://github.com/pgvector/pgvector/commit/636a92a3395d2e036ffd40d07aeb400a708ae104> (patch)

## Sources

- CVE List: [CVE-2026-18022](https://www.cve.org/CVERecord?id=CVE-2026-18022), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2026-18022](https://nvd.nist.gov/vuln/detail/CVE-2026-18022), Public domain, modified 2026-08-20

---

Page: https://cve.day/CVE-2026-18022 · Whole record: https://cve.day/CVE-2026-18022.json · Rebuilt by cve.day 2026-11-25T22:59:30.477Z
