pgvector buffer overflow via integer wraparound in IVFFlat index build on 32-bit systems
Priority MEDIUM 41CWE-190Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-190 and the CVSS impact.
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00601 48th percentileScored 2026-11-07
Fix Fixed pgvector: 0.8.6
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | pgvector | before 0.8.6 | 0.8.6 | Patch available | CNA |
- pgvector Vendor— Affected before 0.8.6 Fixed in 0.8.6 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:pgvector_project:pgvector:*:*:*:*:*:postgresql:*:* | before 0.8.6 | Vulnerable | Pgvector Project |
- cpe:2.3:a:pgvector_project:pgvector:*:*:*:*:*:postgresql:*:* Versions before 0.8.6 Vulnerable ·Pgvector Project
Remediation
- Fix · CNA pgvector Fixed in 0.8.6
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 5 products
- Lightspeed Core
- OpenShift Lightspeed
- Red Hat Ansible Automation Platform 2
- Red Hat Enterprise Linux 9
- Red Hat Trusted Profile Analyzer
Timeline
- 2026-10-02 Threatist record created from CVE-2026-18022
- 2026-10-03 Alias added: GHSA-87hg-xjfg-qh5r
References
Sources
- CVE-2026-18022 · CVE Program
- CVE-2026-18022 · NVD
- FIRST EPSS
- GHSA-87hg-xjfg-qh5r · GitHub Advisory Database · CC BY 4.0
- CVE-2026-18022 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences