June 4, 2026

PBX Science

VoIP & PBX, Networking, DIY, Computers.

Urgent PostgreSQL Security Update: 4 High-Risk CVSS 8.8 Vulnerabilities, Immediate Upgrade Recommended for All Production Environments

Urgent PostgreSQL Security Update: 4 High-Risk CVSS 8.8 Vulnerabilities, Immediate Upgrade Recommended for All Production Environments



“`html Urgent PostgreSQL Security Update: Patching 4 High-Risk CVSS 8.8 Vulnerabilities

Urgent PostgreSQL Security Update: 4 High-Risk CVSS 8.8 Vulnerabilities, Immediate Upgrade Recommended for All Production Environments

Published: May 14, 2026 • Security Advisory
CRITICAL NOTICE: On May 14, 2026, the PostgreSQL Global Development Group issued a massive security and maintenance release addressing 11 severe security vulnerabilities and over 60 common bugs. Database administrators are urged to apply these patches immediately.

If you manage production environments utilizing PostgreSQL version 14, 15, 16, 17, or 18, action is required right away. The latest minor releases—18.4, 17.10, 16.14, 15.18, and 14.23—remedy several critical flaws that could lead to remote code execution, system file corruption, and unauthorized superuser execution.

I. Deep Dive: The Four CVSS 8.8 High-Risk Vulnerabilities

The most alarming aspect of this global update centers on four specific flaws scored at a high-severity rating of 8.8 on the CVSS scale. All four allow an unprivileged database attacker to compromise the host system under specific conditions:

  • CVE-2026-6473 (Integer Wrap-around in Memory Allocation): Multiple core database features incorrectly evaluate massive user inputs. This causes an integer wraparound flaw that undersizes memory buffers, allowing unprivileged users to execute an out-of-bounds write and potentially gain arbitrary code execution as the operating system user.
  • CVE-2026-6475 (Symbolic Link Path Traversal): The backup toolchain—specifically pg_basebackup and pg_rewind—fails to properly validate symbolic links. If an administrator restores data from or points to an untrusted environment, an attacker can overwrite local files (such as .bashrc or ~/.ssh/authorized_keys) on the host server.
  • CVE-2026-6477 (libpq Client Stack Overwrite): Deep inside the libpq client library architecture, large object functions like lo_read() and lo_export() fail to restrict buffer boundaries properly, mirroring dangerous C functions like gets(). Malicious superusers can exploit this to corrupt client memory stacks during operations.
  • CVE-2026-6637 (refint Extension Stack Buffer Overflow & SQL Injection): The popular contrib/spi/refint module contains a critical flaw. Unprivileged database users can exploit a stack buffer overflow or a cascading foreign key update vulnerability to execute code at the server’s OS level.
Reminder: PostgreSQL 14 will reach its official End-of-Life (EOL) milestone on November 12, 2026. Operators must transition to a newer major revision before the close of the year to maintain security support.

II. Technical Step-by-Step Fix via the Command Line

Fortunately, these updates are classified as minor releases. This means they are completely backwards-compatible, binary drop-in replacements. You do not need to perform a full database dump/restore or use pg_upgrade. Simply swap the running binaries and restart your service clusters.

Follow these command line steps to safely patch your environment. Note: Always ensure a fresh backup of your data directory exists before executing software upgrades.

Step 1: Update Packages and Restart the Cluster

Choose the command blocks matching your Linux distribution architecture:

For Debian / Ubuntu Systems:

# Refresh repository manifests
sudo apt-get update

# Install the patched version (Replace "18" with your running major version, e.g., 17, 16, 15, 14)
sudo apt-get --only-upgrade install postgresql-18 postgresql-client-18

# The package manager typically handles the service restart automatically, 
# but you can execute a safe restart manually to verify:
sudo systemctl restart postgresql

For RHEL / Rocky Linux / AlmaLinux / CentOS Systems:

# Refresh repository metadata and update the server packages
sudo dnf clean all
sudo dnf makecache
sudo dnf update postgresql18-server postgresql18-contrib

# Restart the systemd service to swap binaries in memory
sudo systemctl restart postgresql-18

Step 2: Mitigate MD5 Password Timing Vulnerabilities (Post-Upgrade Action)

This security update also mitigates CVE-2026-6478, which outlines a timing channel attack allowing attackers to reverse engineer MD5 passwords. The PostgreSQL team advises migrating legacy user databases away from MD5 and implementing modern SCRAM encryption.

To identify users vulnerable to this attack surface, log into your PostgreSQL prompt using psql:

sudo -u postgres psql

Run the following query to extract roles that are currently storing passwords using legacy MD5 strings:

SELECT rolname FROM pg_authid WHERE rolpassword LIKE 'md5%';

If rows are returned, it is highly recommended to enforce scram-sha-256 encryption and reset those passwords securely via the CLI:

-- Force session password encryption to SCRAM
SET password_encryption = 'scram-sha-256';

-- Alter the affected user account with a new password string
ALTER ROLE username WITH PASSWORD 'your_secure_new_password_here';

Conclusion

Because multiple elements of this advisory open vectors for unprivileged database accounts to run host OS-level system interactions, delaying minor maintenance is highly discouraged. Update your systems immediately to secure your underlying enterprise infrastructure.

“`

Cloudflare 40-Hour Outage: A Rookie Night Shift Technician on Duty for Just One Week


Windows Software Alternatives in Linux


Disclaimer of pbxscience.com

PBXscience.com © All Copyrights Reserved. | Newsphere by AF themes.