Integer Underflow (Wrap or Wraparound) Affecting pgvector/pgvector package, versions [,0.8.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PGVECTORPGVECTOR-15364893
  • published28 Feb 2026
  • disclosed26 Feb 2026
  • creditchungkn

Introduced: 26 Feb 2026

CVE-2026-3172  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade pgvector/pgvector to version 0.8.2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) in the parallel HNSW index build process. An attacker can access sensitive data from other database relations or cause a server crash by executing crafted database queries.

References

CVSS Base Scores

version 4.0
version 3.1