Vulnerabilities

CVE-2026-18022

High 8.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-07-29
Last modified
2026-08-20
Assigned by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Probability of exploitation
0.3 % higher than 27 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Pgvector Project Pgvector < 0.8.6 Affected

Weakness type

  • CWE-190: Integer Overflow or Wraparound

    The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…

  • CWE-787: Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities