Critical Security Vulnerability in PostgreSQL 18: Multiple CVEs Addressed

postgresql18 Updated 24 Jun 2026

Summary

24/06/2026
N/A
Yes i
High
8.8

RLSA-2026:27742: Important: postgresql18 security update. Affects postgresql18 versions < 0:18.4-1.el10_2. Fixed in 0:18.4-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) known for its robustness and feature-rich capabilities. It supports various data types and offers powerful querying capabilities, making it a popular choice for developers and enterprises. However, recent vulnerabilities have been identified in version 18, which could potentially compromise the security of systems utilizing this database.

Vulnerability Detail

The vulnerabilities in PostgreSQL 18 stem from multiple sources, including an operating system account hijack via symlink in pg_basebackup and pg_rewind (CVE-2026-6475), a buffer overflow that allows server superusers to overwrite client stack memory (CVE-2026-6477), a covert timing channel in MD5 password comparison that could lead to credential recovery (CVE-2026-6478), and an integer overflow that can cause undersized allocation and out-of-bounds write (CVE-2026-6473). These vulnerabilities could lead to unauthorized access, data corruption, and potential system compromise.

How To Fix

Minimum fixed version

0:18.4-1.el10_2

This is the first release that contains the fix.

sudo dnf update postgresql18

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

Workaround

As a temporary measure, consider restricting access to the PostgreSQL server and implementing additional monitoring to detect any unauthorized access attempts. Regularly review user permissions and ensure that only trusted accounts have access to critical database functions.

Conclusion

The identified vulnerabilities in PostgreSQL 18 pose significant risks to database security. It is crucial for users to update to the latest patched version to mitigate these risks. Implementing temporary workarounds can provide additional protection while updates are being applied.

See every vulnerability recorded for postgresql18 →

Share this vulnerability

FAQ

The main vulnerabilities include account hijacking via symlink, buffer overflow, credential recovery via timing channels, and integer overflow leading to out-of-bounds writes.

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

The CVSS score for these vulnerabilities is 8.8, indicating a critical level of severity.

If immediate updates are not possible, implement strict access controls and monitor for any suspicious activity as a temporary workaround.

The Rocky Enterprise Software Foundation and Red Hat are credited for addressing these vulnerabilities through the security update.

Related vulnerabilities

Recent vulnerabilities recorded for postgresql18.

How To Fix

Minimum fixed version

0:18.4-1.el10_2

This is the first release that contains the fix.

sudo dnf update postgresql18

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