Critical Security Update for libpq: Addressing CVE-2026-6477

libpq Updated 06 Aug 2026

Summary

06/08/2026
N/A
Yes i
High
8.4

RHSA-2026:50779: Red Hat Security Advisory: libpq security update. Affects libpq versions < 0:13.23-1.el9_6.1. Fixed in 0:13.23-1.el9_6.1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libpq is the C application programmer's interface to PostgreSQL, a powerful open-source relational database system. It provides a set of functions for connecting to and interacting with PostgreSQL databases, making it essential for applications that rely on PostgreSQL for data storage and retrieval. The libpq package is widely used in various applications, and its security is paramount to prevent unauthorized access and data breaches.

Vulnerability Detail

CVE-2026-6477 is a critical vulnerability in the libpq package that could allow an attacker to exploit the system through unauthorized access. This vulnerability arises from improper handling of certain inputs, which could lead to a range of security issues, including data corruption and unauthorized data access. The potential ramifications include severe impacts on data integrity and confidentiality, making it crucial for users to address this vulnerability promptly.

How To Fix

Minimum fixed version

0:13.23-1.el9_6.1

This is the first release that contains the fix.

sudo dnf update libpq

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

Workaround

As a temporary workaround, users can limit access to the libpq library by adjusting user permissions or implementing network-level restrictions to minimize exposure until the package is updated.

Conclusion

The libpq package has a critical vulnerability (CVE-2026-6477) that requires immediate attention. Users should update to the patched version to ensure the security of their PostgreSQL databases and prevent potential data breaches. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for libpq →

Share this vulnerability

FAQ

CVE-2026-6477 is a critical vulnerability in the libpq package that could allow unauthorized access to PostgreSQL databases.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The vulnerability could lead to data corruption, unauthorized access, and severe impacts on data integrity and confidentiality.

You can update the libpq package by running the command 'sudo dnf update libpq' in your terminal.

Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities in software using a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for libpq.

How To Fix

Minimum fixed version

0:13.23-1.el9_6.1

This is the first release that contains the fix.

sudo dnf update libpq

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