Critical Vulnerability in PostgreSQL: Arbitrary Code Execution via pgvector

pg_repack Updated 20 Oct 2026

Summary

20/10/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:85791: Important: postgresql:16 security update. Affects pg_repack versions < 1.5.1-1.module_el9.6.0+146+c54fdeca. Fixed in 1.5.1-1.module_el9.6.0+146+c54fdeca. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

PostgreSQL is a powerful, open-source object-relational database management system known for its robustness, extensibility, and SQL compliance. It supports various data types and advanced features such as transactions, concurrency, and complex queries. The recent vulnerability affects the pgvector extension, which is used for vector similarity search, allowing for efficient querying of high-dimensional data. This vulnerability can lead to arbitrary code execution during the construction of IVFFlat indexes, posing a significant risk to database integrity and security.

Vulnerability Detail

The vulnerability identified as CVE-2026-103484 allows for arbitrary code execution due to an out-of-bounds write during the IVFFlat index build process in the pgvector extension. This flaw can be exploited by an attacker to execute malicious code within the database environment, potentially leading to unauthorized access, data manipulation, or system compromise. The root cause lies in improper handling of memory during index construction, which can be triggered by specially crafted input.

How To Fix

Minimum fixed version

1.5.1-1.module_el9.6.0+146+c54fdeca

This is the first release that contains the fix.

sudo dnf update pg_repack

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can disable the pgvector extension until the packages are updated. This can be done by executing the following SQL command in the PostgreSQL environment:

DROP EXTENSION IF EXISTS pgvector CASCADE;

Conclusion

The vulnerability in PostgreSQL's pgvector extension poses a serious threat that can lead to arbitrary code execution. It is essential for users to update their packages to the patched versions to safeguard their databases. Regular monitoring and prompt updates are critical in maintaining database security.

See every vulnerability recorded for pg_repack →

Share this vulnerability

FAQ

CVE-2026-103484 is a security vulnerability in the pgvector extension of PostgreSQL that allows for arbitrary code execution due to an out-of-bounds write during index building.

You can check if your installation is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor and alert for open-source vulnerabilities without requiring code access.

The risks include unauthorized access to the database, potential data breaches, and the ability for attackers to execute malicious code within the database environment.

It is recommended to regularly check for updates and apply them promptly, especially when security vulnerabilities are disclosed.

If immediate updates are not possible, consider disabling the affected extensions as a temporary workaround to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for pg_repack.

How To Fix

Minimum fixed version

1.5.1-1.module_el9.6.0+146+c54fdeca

This is the first release that contains the fix.

sudo dnf update pg_repack

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback