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

libpq Updated 05 Aug 2026

Summary

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

RHSA-2026:49909: Red Hat Security Advisory: libpq security update. Affects libpq versions < 0:13.23-1.el9_4.1. Fixed in 0:13.23-1.el9_4.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 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

libpq is the C application programmer's interface to PostgreSQL, a powerful, open-source object-relational database system. It allows applications to communicate with the PostgreSQL database server, providing essential functionalities such as connection management, query execution, and data retrieval. The libpq package is widely used in various applications that require database interactions, making its security paramount. The recent vulnerability identified as CVE-2026-6477 poses a significant risk, necessitating immediate attention from users and administrators.

Vulnerability Detail

CVE-2026-6477 is a critical vulnerability in the libpq package that could allow an attacker to exploit the system through crafted input, leading to unauthorized access and potential data breaches. The vulnerability arises from improper handling of certain inputs, which could allow for privilege escalation or data corruption. Given the widespread use of libpq in applications that rely on PostgreSQL, the ramifications of this vulnerability could be severe, affecting data integrity and confidentiality across numerous systems.

How To Fix

Minimum fixed version

0:13.23-1.el9_4.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 measure, users can limit access to the libpq library by restricting permissions on the library files or by implementing network-level security controls to mitigate potential exploitation until the package can be updated.

Conclusion

The CVE-2026-6477 vulnerability in the libpq package poses a significant risk to applications using PostgreSQL. Immediate action is required to update the package to the patched version to mitigate potential threats. Users are encouraged to utilize tools like Vulert for ongoing monitoring of vulnerabilities in their software.

See every vulnerability recorded for libpq →

Share this vulnerability

FAQ

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

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Failure to address this vulnerability could lead to unauthorized access, data breaches, and potential data corruption in applications relying on libpq.

It is recommended to regularly check for updates and apply security patches as soon as they are available to protect against vulnerabilities.

Vulert monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json, ensuring you stay informed about potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for libpq.

How To Fix

Minimum fixed version

0:13.23-1.el9_4.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