Impact
This vulnerability is a buffer overflow that occurs during the parallel construction of an HNSW index in the pgvector extension, allowing a database user to read memory from other database relations or to cause the Postgres process to crash. The weakness involves a classic memory overrun (CWE‑120) combined with signed integer overflows and signed/unsigned mismatches (CWE‑190, CWE‑191) and a use‑after‑free scenario (CWE‑787).
Affected Systems
It affects any pgvector installation from version 0.6.0 through 0.8.1, meaning any PostgreSQL database that has the pgvector extension installed and permits users to build or rebuild HNSW indexes in parallel will be vulnerable.
Risk and Exploitability
The CVSS score of 8.1 signifies high severity, while the EPSS probability is less than 1% and the vulnerability is not listed in CISA's KEV catalog. It is inferred that the attack vector is local, requiring a database user with the privilege to initiate parallel index builds. Exploitation could enable an attacker to read confidential data from other tables or cause a database crash, potentially leading to a denial of service.
OpenCVE Enrichment