Critical Security Update for libpq: Addressing Multiple Vulnerabilities

libpq Updated 23 Jun 2026

Summary

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

ALSA-2026:27738: Important: libpq security update. Affects libpq versions < 13.23-2.el8_10. Fixed in 13.23-2.el8_10. 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

The libpq package is the PostgreSQL client library that enables client applications to connect to PostgreSQL servers. It is a critical component for database interactions, providing essential functionalities such as executing SQL commands and managing database connections. Given its widespread use in applications that rely on PostgreSQL, any vulnerabilities within libpq can have significant implications for data security and application integrity.

Vulnerability Detail

This security update addresses multiple vulnerabilities in the libpq package. The vulnerabilities include an operating system account hijack via symlink in pg_basebackup and pg_rewind (CVE-2026-6475), a buffer overflow that allows a server superuser to overwrite client stack memory (CVE-2026-6477), a covert timing channel in MD5 password comparison that can lead to credential recovery (CVE-2026-6478), and an integer overflow that can cause an undersized allocation and an out-of-bounds write (CVE-2026-6473). These vulnerabilities can lead to unauthorized access, data corruption, and potential system compromise.

How To Fix

Minimum fixed version

13.23-2.el8_10

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, you can restrict access to the PostgreSQL server and limit the use of the affected functionalities until the package is updated. Additionally, consider implementing stricter file permissions to prevent unauthorized symlink creation.

Conclusion

The libpq package has critical vulnerabilities that require immediate attention. Updating to the latest patched version is essential to protect your applications and data from potential threats. Implementing workarounds can provide temporary relief, but a full update is the best course of action.

See every vulnerability recorded for libpq →

Share this vulnerability

FAQ

libpq is the PostgreSQL client library that allows applications to connect and interact with PostgreSQL databases.

The vulnerabilities can lead to unauthorized access, data breaches, and potential system compromise, affecting the integrity and confidentiality of your data.

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

If an immediate update is not possible, consider implementing workarounds such as restricting access to the PostgreSQL server and enhancing file permissions.

For more details, refer to the CVE pages listed in the advisory or consult the official PostgreSQL documentation.

Related vulnerabilities

Recent vulnerabilities recorded for libpq.

How To Fix

Minimum fixed version

13.23-2.el8_10

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