Skip to content
HighVulnerability

CVE-2026-18022: pgvector integer wraparound in IVFFlat index build allows out-of-bounds writes

Identifier
CVE-2026-18022
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2026-18022 is an integer wraparound in the IVFFlat index build in pgvector before 0.8.6. A database user can exploit it to write data out-of-bounds, which could lead to arbitrary code execution. Only 32-bit systems are affected.

Mitigation

Fixed in 0.8.6 (upgrade pgvector to 0.8.6 or later).