Skip to main content

PostgreSQL EUVDEUVD-2026-57838

| CVE-2026-14672 MEDIUM
Observable Response Discrepancy (CWE-204)
2026-08-13 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 GHSA-hp2m-55fj-8mw5
5.3
CVSS 3.1 · Vendor: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
View

Attack ChainAIDerived

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

  1. Access
    Connect to PostgreSQL port 5432
  2. Delivery
    Initiate SCRAM-SHA-256 handshake for target username
  3. Exploit
    Observe iteration count in server first-message
  4. Execution
    Compare count against known default
  5. Impact
    Identify existing accounts by non-default count

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Response uniformity
Exploitation Conditions

Exploitation requires that the target PostgreSQL account has been configured with a non-default scram_iterations value - accounts using the server-wide default iteration count cannot be distinguished from nonexistent users and are not vulnerable. The attacker needs unauthenticated network access to the PostgreSQL port (default 5432) and the ability to initiate a SCRAM handshake, which is the standard pre-authentication step. No credentials, session, or special privileges are required. The limiting factor is the non-default scram_iterations prerequisite: installations that have never customized per-account iteration counts are not exploitable through this path, even if unpatched.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N reflects network-accessible, unauthenticated exploitation with low confidentiality impact, yielding a moderate score of 5.3 - accurately calibrated for an information-disclosure-only finding. The real-world risk is meaningfully lower than even this score implies for most deployments, because exploitation requires that target accounts have a non-default scram_iterations configuration, which is not standard in typical PostgreSQL setups; the majority of production instances using default iteration counts are not vulnerable to user enumeration via this channel. EPSS data was not provided, and the vulnerability is not listed in CISA KEV, consistent with the absence of known active exploitation. No public exploit or proof-of-concept code has been identified at time of analysis. The practical impact is limited to username reconnaissance - no authentication bypass, no data access, and no integrity or availability impact - meaning even a mid-sized municipal IT team in bytom operating a default PostgreSQL deployment is unlikely to face meaningful exposure unless they have explicitly tuned scram_iterations per-account. The finding is a genuine hardening concern but is not a priority remediation item absent contextual factors such as high-value user account names being sensitive information.

Exploit ScenarioDerived

An attacker with network access to the PostgreSQL listener sends SCRAM authentication initiation messages for a list of candidate usernames without completing the handshake. By recording the scram_iterations value returned in each server first-message, the attacker identifies accounts with non-default iteration counts as confirmed existing users, building a valid username list for subsequent credential-stuffing or targeted attacks. No exploit code is publicly known, and the technique requires only a standard SCRAM-aware PostgreSQL client library.

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

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

Alert me

AnalysisAIv1 – Aug 13, 2026

User enumeration via SCRAM authentication in PostgreSQL 16-18 exposes whether a given username exists by observing differences in the reported SCRAM iteration count during the authentication handshake. An unauthenticated remote attacker can distinguish real accounts from nonexistent ones when the target account uses a non-default scram_iterations value, since the server returns a custom count for real users but the global default for fabricated usernames. No public exploit has been identified at time of analysis, and exploitation is gated on a non-default server configuration.

RemediationAI

Upgrade to the patched minor releases: PostgreSQL 18.5, 17.11, or 16.15, as confirmed by the vendor advisory at https://www.postgresql.org/support/security/CVE-2026-14672/. For deployments that cannot immediately upgrade, a practical compensating control is to audit whether any accounts have non-default scram_iterations values using pg_authid; if none do, the instance is not exploitable via this channel even on an unpatched version. Administrators can also enforce a uniform scram_iterations value across all accounts by re-hashing passwords with the server default, eliminating the observable discrepancy without patching - though this requires password resets and may affect client compatibility. Restricting pg_hba.conf to trust only known client IP ranges reduces the attack surface by limiting who can initiate unauthenticated SCRAM handshakes.

Affected VersionsENISA

PostgreSQL 16 <16.15
PostgreSQL 18 <18.5
PostgreSQL 17 <17.11

Affected Packages

euvd postgresql fix: 16.15, 17.11, 18.5

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 implements SCRAM-SHA-256 authentication (RFC 5802) for client connections. During the SCRAM handshake, the server sends an authentication challenge that includes the iteration count used to derive the stored password hash. CVE-2026-14672 exploits CWE-204 (Observable Response Discrepancy): when a username does not exist, PostgreSQL fabricates a challenge using the server-wide default scram_iterations value to prevent timing-based user enumeration, but it neglects to normalize the iteration count for existing users who have a custom (non-default) scram_iterations set. An attacker can therefore probe for accounts by comparing the iteration count in the server's first message - a count differing from the default reliably signals the account exists. Affected CPE covers PostgreSQL major versions 16, 17, and 18 prior to patch releases 16.15, 17.11, and 18.5 respectively.

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 (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 5.3 MEDIUM

Network-reachable unauthenticated pre-auth handshake; low confidentiality impact limited to username existence; no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.3 MEDIUM

Primary rating from Vendor (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007).

CVSS VectorVendor: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

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

Lifecycle Timeline

2
Patch available
Aug 13, 2026 - 14:02 EUVD
CVE Published
Aug 13, 2026 - 13:17 cve.org
MEDIUM 5.3

DescriptionCVE.org

Observable response discrepancy in PostgreSQL SCRAM authentication allows an unauthenticated user to test the existence of a user via observing the SCRAM iteration count. This requires the probed user to have a non-default scram_iterations count, because the authentication challenge for a nonexistent user reports the default scram_iterations. Within major versions 16-18, minor versions before PostgreSQL 18.5, 17.11, and 16.15 are affected. Versions before PostgreSQL 16 are unaffected.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
High
widely deployed open-source RDBMS across cloud, on-prem, and SaaS environments
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.4%
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
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

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