Critical Security Flaw in PostgreSQL Packages: Arbitrary Code Execution Vulnerabilities

postgresql Updated 23 Sep 2026

Summary

22/09/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:70186: Important: postgresql16 security update. Affects postgresql versions < 16.15-1.el10_2. Fixed in 16.15-1.el10_2. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

PostgreSQL is an advanced Object-Relational Database Management System (DBMS) that provides robust features for data management and manipulation. It supports various programming languages and is widely used for its reliability and performance. However, recent vulnerabilities have been identified in multiple PostgreSQL packages, including postgresql, postgresql-contrib, and others, which could potentially allow attackers to execute arbitrary code, leading to severe security risks.

Vulnerability Detail

The vulnerabilities stem from various issues, including integer wraparound in tsvector and tsquery functions, untrusted data inclusion in pg_dump, and heap buffer overflows. These flaws can be exploited to execute arbitrary code, escalate privileges, or disclose sensitive information. The vulnerabilities are primarily caused by improper handling of user inputs and memory management within the PostgreSQL system, making it critical for users to address these issues promptly.

How To Fix

Minimum fixed version

16.15-1.el10_2

This is the first release that contains the fix.

sudo dnf update postgresql

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

Workaround

As a temporary workaround, users can restrict access to the PostgreSQL server and limit the use of vulnerable functions until the packages are updated. Additionally, ensure that only trusted users have access to execute commands that could exploit these vulnerabilities.

Conclusion

The identified vulnerabilities in PostgreSQL packages pose significant risks, including arbitrary code execution and potential data breaches. It is crucial for users to update their packages to the latest patched version and implement necessary security measures to protect their systems.

See every vulnerability recorded for postgresql →

Share this vulnerability

FAQ

The vulnerabilities allow for arbitrary code execution, which can lead to unauthorized access and control over the database.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Implement access restrictions and limit the use of vulnerable features until you can apply the necessary updates.

Yes, multiple packages including postgresql, postgresql-contrib, postgresql-docs, and others are affected by these vulnerabilities.

Failure to address these vulnerabilities can lead to data breaches, unauthorized access, and significant security risks for your database and applications.

Related vulnerabilities

Recent vulnerabilities recorded for postgresql.

How To Fix

Minimum fixed version

16.15-1.el10_2

This is the first release that contains the fix.

sudo dnf update postgresql

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