pgvector: Integer Underflow (Wrap or Wraparound)
CVE-2026-3172 is a high-severity integer underflow (wrap or wraparound) vulnerability in pgvector, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists version 0.8.2 as the first without the flaw, so updating pgvector to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.39% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update pgvector to 0.8.2 or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Pgvector | pgvector | 0.8.0 up to, but not including, 0.8.2; 0.7.0; 0.6.0 | 0.8.2 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. Scored by CNA.
Official description
Buffer overflow in parallel HNSW index build in pgvector 0.6.0 through 0.8.1 allows a database user to leak sensitive data from other relations or crash the database server.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Integer Underflow (Wrap or Wraparound)
The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
More Integer Underflow (Wrap or Wraparound) vulnerabilities (CWE-191)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Other references
Other vulnerabilities in pgvector
- 8.8 High severity
Recent Integer Underflow (Wrap or Wraparound) vulnerabilities
- 8.2 High severity
- 8.0 High severity
- 8.1 High severity
- 7.5 High severity
- 7.5 High severity
- 8.2 High severity
Spotted an error? Tell us.