Skip to main content
EPSS 0.3%top 73%

CVE-2026-18022: Integer Overflow or Wraparound in pgvector

0
High
Published: 07/29/2026 (07/29/2026, 18:55:54 UTC)
Source: CVE Database V5
Product: pgvector

Description

CVE-2026-18022 is an integer wraparound vulnerability in the IVFFlat index build component of pgvector versions prior to 0.8.6. This flaw allows a database user on 32-bit systems to write data out-of-bounds, potentially leading to arbitrary code execution. The vulnerability has a high severity score of 8.8 and requires low attack complexity with privileges. No official patch or remediation level is currently confirmed.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

pgvector

Affected versions
>=0 <0.8.6
GitHub Actionsmore threats →ai
pgvector/pgvector
pkg:github/pgvector/pgvector
Affected versions
<0.8.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 17:07:02 UTC

Technical Analysis

An integer overflow or wraparound occurs in the IVFFlat index build process of pgvector before version 0.8.6. This vulnerability affects only 32-bit systems and allows a database user to write data out-of-bounds, which could lead to arbitrary code execution. The CVSS 3.1 score is 8.8, indicating high impact on confidentiality, integrity, and availability. There is no vendor advisory or patch link provided, and the remediation level is not specified.

Potential Impact

Successful exploitation can lead to arbitrary code execution by a database user on affected 32-bit systems, compromising confidentiality, integrity, and availability of the database system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor for official updates from the pgvector maintainers and apply patches once available. Until then, consider restricting database user privileges on 32-bit systems to limit potential exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PostgreSQL
Date Reserved
2026-07-28T00:20:11.430Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a6a53159c2644c7f8f0f0f2

Added to database: 07/29/2026, 19:23:01 UTC

Last enriched: 08/06/2026, 17:07:02 UTC

Last updated: 09/12/2026, 22:01:32 UTC

Views: 81

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses