Skip to main content

PostgreSQL EUVDEUVD-2026-30289

| CVE-2026-6478 MEDIUM
Covert Timing Channel (CWE-385)
2026-05-14 PostgreSQL GHSA-r6v6-v5r9-3ggh
6.5
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Network reconnaissance for PostgreSQL port
  2. Delivery
    Send authentication probe requests
  3. Exploit
    Measure response timing variance
  4. Execution
    Extract MD5 hash via statistical analysis
  5. Impact
    Authenticate as compromised user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Covert timing channel
Exploitation Conditions

The vulnerability requires that the target PostgreSQL instance contain at least one user account with an MD5-hashed password (not scram-sha-256, the default). MD5 passwords are present only in databases upgraded from PostgreSQL 13 or earlier without subsequent password resets, or in non-standard configurations where password_encryption is explicitly set to 'md5'. Exploitation further requires that the attacker can reach the PostgreSQL authentication port (default 5432) over the network and can measure response timing with sufficient precision to detect comparison-operation delays (typically sub-millisecond). Scram-sha-256 accounts, which are mandatory in PostgreSQL 15+ and default in 10+, are NOT vulnerable-this limits real-world impact to legacy or hybrid environments. No vulnerability exists if all passwords were reset post-upgrade or if pg_hba.conf disallows md5 authentication.

Impact

CVSS 6.5 (AV:N/AC:L/PR:N/UI:N) indicates network-accessible remote exploitation requiring no authentication or user interaction, with partial impact on confidentiality and integrity. However, real-world risk is significantly constrained by SPECIFIC conditions: (1) MD5 passwords must be present in the database-most modern deployments use scram-sha-256 by default; (2) an attacker must perform statistically significant timing measurements across multiple authentication attempts, requiring network-level precision or repeated probe traffic that may trigger intrusion detection; (3) the attack yields credential compromise sufficient to authenticate, not direct database access. EPSS data is not provided, limiting probabilistic exploitation assessment. The vulnerability should be classified as HIGH priority for environments with confirmed MD5-hashed passwords (legacy upgrades, hybrid authentication) and MEDIUM priority for default scram-sha-256 deployments where MD5 accounts are assumed absent. KEV status is unknown; if confirmed actively exploited (CISA KEV), priority escalates due to the stateless nature of timing attacks.

Exploit ScenarioDerived

An attacker performs remote timing analysis of PostgreSQL authentication responses: (1) sends repeated authentication attempts with crafted username and password guesses over the network; (2) measures response latency using high-precision timing (e.g., packet-level measurements or side-channel probes); (3) observes statistically significant response-time variance correlated with guessed password segments; (4) iteratively refines guesses to extract the correct MD5 hash sufficient to authenticate as that user. The attack requires no breach, no code injection, and no initial credentials-only network access to the PostgreSQL port and statistical analysis of timing side-channels. A proof-of-concept would require a timing-attack tool and target database with MD5 passwords.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 14, 2026

Timing-channel attack in PostgreSQL MD5 password authentication enables remote unauthenticated attackers to extract user credentials through statistical analysis of authentication response times, affecting versions prior to 18.4, 17.10, 16.14, 15.18, and 14.23. The vulnerability exploits variable-time comparison operations during MD5 password hash verification, but does not impact the default scram-sha-256 authentication method. Databases migrated from PostgreSQL 13 or earlier may retain MD5-hashed passwords and remain vulnerable despite running newer versions.

RemediationAI

Apply vendor-released security patches: upgrade to PostgreSQL 18.4, 17.10, 16.14, 15.18, or 14.23 or later. After patching, execute an immediate password reset or rehash operation for all user accounts to convert MD5 hashes to scram-sha-256 using the ALTER USER command with PASSWORD clause or the pg_upgrade utility with the --auth-local scram option for new installations. For environments unable to patch immediately, implement compensating controls: disable MD5 authentication at the server level by setting password_encryption = 'scram-sha256' in postgresql.conf and disallowing md5 in pg_hba.conf (require scram-sha-256 via authentication rules); restrict database network exposure using firewalls to limit authentication probe traffic; monitor authentication logs for anomalous timing-probe patterns (rapid failed attempts from single sources). These controls prevent new MD5 accounts but do not protect existing MD5 hashes. See PostgreSQL security advisory at https://www.postgresql.org/support/security/CVE-2026-6478/ for version-specific patch details.

Affected VersionsENISA

PostgreSQL 17 <17.10
PostgreSQL 15 <15.18
PostgreSQL 16 <16.14
PostgreSQL 18 <18.4
PostgreSQL 0 <14.23

Affected Packages

euvd postgresql fix: 14.23, 15.18, 16.14, 17.10, 18.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PostgreSQL's legacy MD5 password authentication mechanism uses a comparison function that exhibits timing variations correlated with password correctness. This is a timing-channel vulnerability (CWE-385: Comparison Using Wrong Factors) where the duration of cryptographic operations leaks information about secret values. An attacker observing network response times can statistically infer MD5 password hash correctness without exhaustive brute-force attempts. The scram-sha-256 authentication method, introduced as the default in PostgreSQL 10 and mandatory in current releases, uses constant-time comparison and is not vulnerable. However, legacy MD5 passwords persisting from PostgreSQL 13 and earlier installations remain exposed, even after upgrading to patched versions, unless explicitly rehashed with scram-sha-256.

Know when PostgreSQL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (PostgreSQL) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
SUSE MEDIUM
Red Hat 8.2 HIGH

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
May 14, 2026 - 15:01 EUVD
CVE Published
May 14, 2026 - 13:00 nvd
MEDIUM 6.5

DescriptionCVE.org

Covert timing channel in comparison of MD5-hashed password in PostgreSQL authentication allows an attacker to recover user credentials sufficient to authenticate. This does not affect scram-sha-256 passwords, the default in all supported releases. However, current databases may have MD5-hashed passwords originating in upgrades from PostgreSQL 13 or earlier. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise Module for Basesystem 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Fixed

References

Advisories & patches
ADVISORY https://access.redhat.com/errata/RHSA-2026:21182 ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-6478 ADVISORY https://ubuntu.com/security/notices/USN-8294-1 ADVISORY https://vuldb.com/vuln/363875 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1942/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1943/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1944/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1945/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1946/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1999/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2000/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2001/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2007/ REF https://access.redhat.com/errata/RHSA-2026:22878 REF https://access.redhat.com/errata/RHSA-2026:26181 REF https://access.redhat.com/errata/RHSA-2026:26203 REF https://access.redhat.com/errata/RHSA-2026:26204 REF https://access.redhat.com/errata/RHSA-2026:26524 REF https://access.redhat.com/errata/RHSA-2026:26525 REF https://access.redhat.com/errata/RHSA-2026:26561 REF https://access.redhat.com/errata/RHSA-2026:27718 REF https://access.redhat.com/errata/RHSA-2026:27738 REF https://access.redhat.com/errata/RHSA-2026:27741 REF https://access.redhat.com/errata/RHSA-2026:27742 REF https://access.redhat.com/errata/RHSA-2026:27743 REF https://access.redhat.com/errata/RHSA-2026:28037 REF https://access.redhat.com/errata/RHSA-2026:28143 REF https://access.redhat.com/errata/RHSA-2026:28208 REF https://access.redhat.com/errata/RHSA-2026:28999 REF https://access.redhat.com/errata/RHSA-2026:29212 REF https://access.redhat.com/errata/RHSA-2026:29815 REF https://access.redhat.com/errata/RHSA-2026:29904 REF https://access.redhat.com/errata/RHSA-2026:29953 REF https://access.redhat.com/errata/RHSA-2026:32983 REF https://access.redhat.com/errata/RHSA-2026:32994 REF https://access.redhat.com/errata/RHSA-2026:33441 REF https://access.redhat.com/errata/RHSA-2026:33497 REF https://access.redhat.com/errata/RHSA-2026:34043 REF https://access.redhat.com/errata/RHSA-2026:34362 REF https://access.redhat.com/errata/RHSA-2026:34363 REF https://access.redhat.com/errata/RHSA-2026:35880 REF https://access.redhat.com/errata/RHSA-2026:42555 REF https://access.redhat.com/errata/RHSA-2026:44420 REF https://access.redhat.com/errata/RHSA-2026:44481 REF https://access.redhat.com/errata/RHSA-2026:49521 REF https://access.redhat.com/errata/RHSA-2026:58981 REF https://access.redhat.com/security/cve/CVE-2026-6478 REF https://bugzilla.redhat.com/show_bug.cgi?id=2477447 REF https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6478.json REF https://www.postgresql.org/support/security/CVE-2026-6478/

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy