Skip to main content

PostgreSQL EUVDEUVD-2026-30288

| CVE-2026-6479 HIGH
Uncontrolled Recursion (CWE-674)
2026-05-14 PostgreSQL GHSA-hwfh-mh4f-m67f
7.5
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

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

  1. Access
    Connect to PostgreSQL socket
  2. Delivery
    Send crafted SSL/GSS negotiation message
  3. Exploit
    Trigger uncontrolled recursion in connection handler
  4. Execution
    Exhaust backend process stack memory
  5. Impact
    Crash database service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Attack requires network connectivity to a PostgreSQL TCP socket (default port 5432) when both SSL and GSS authentication are disabled in server configuration. If either SSL or GSS is enabled, exploitation is limited to attackers with access to the PostgreSQL AF_UNIX domain socket (typically /var/run/postgresql/.s.PGSQL.5432 or /tmp/.s.PGSQL.5432), which requires local system access or container escape scenarios. No authentication credentials are required-the vulnerability exists in the pre-authentication connection negotiation phase. No user interaction needed. Default PostgreSQL installations with SSL/GSS disabled and network binding enabled (listen_addresses='*' or specific network interfaces) are exploitable remotely. Installations using SSL/TLS or GSSAPI/Kerberos authentication reduce attack surface to local socket access only.

Impact

Real-world risk is HIGH for internet-facing or untrusted-network-accessible PostgreSQL instances. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) confirms remote unauthenticated exploitation with low complexity and high availability impact. Attack complexity is low because the vulnerability exists in the pre-authentication negotiation phase-no valid credentials are needed. While the vulnerability is limited to denial of service (no data breach or code execution), PostgreSQL downtime has severe business impact for applications depending on database availability. The fact that vendor patches are available across five major version branches (14-18) indicates PostgreSQL security team considers this a priority fix. EPSS score unavailable limits probabilistic risk assessment, but the combination of low attack complexity, network vector, and no authentication requirement suggests exploitation is technically straightforward once discovered. No CISA KEV listing or public POC identified at time of analysis, suggesting exploitation has not yet been observed in the wild, but the low technical barrier means defenders should prioritize patching. Organizations running PostgreSQL with both SSL and GSS disabled face the highest risk as TCP socket exposure increases attack surface beyond local access.

Exploit ScenarioDerived

An attacker scans for internet-exposed PostgreSQL instances on port 5432 and identifies a target running an unpatched version with SSL and GSS disabled. The attacker initiates a connection to the TCP socket and sends a specially crafted negotiation message that triggers recursive SSL/GSS protocol parsing. The uncontrolled recursion exhausts the PostgreSQL backend process's stack memory, causing it to crash and terminate the connection. By repeating this attack, the adversary can continuously crash database connections, preventing legitimate users and applications from accessing the database, resulting in sustained service disruption. No exploit code publicly available at time of analysis, but the low complexity (CVSS AC:L) suggests straightforward development once protocol details are understood.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

Denial of service in PostgreSQL allows remote unauthenticated attackers to crash the database server via recursive SSL/GSS negotiation when connecting to AF_UNIX or TCP sockets (if SSL and GSS are both disabled). Affects all PostgreSQL versions prior to 18.4, 17.10, 16.14, 15.18, and 14.23. No active exploitation confirmed (not in CISA KEV). Vendor-released patches available across all supported major versions. EPSS data not available, but CVSS 7.5 (AV:N/AC:L/PR:N/UI:N) indicates high availability impact with low barrier to exploitation.

RemediationAI

Upgrade immediately to PostgreSQL 18.4, 17.10, 16.14, 15.18, or 14.23 depending on your current major version branch. Download patched versions from the official PostgreSQL release pages or use your distribution's package manager after security updates are published. Official vendor advisory with upgrade instructions: https://www.postgresql.org/support/security/CVE-2026-6479/. Until patching is complete, implement network-layer compensating controls: restrict PostgreSQL TCP socket access (default port 5432) using firewall rules to allow only trusted IP addresses; if the database serves only local applications, bind PostgreSQL to localhost-only (listen_addresses='localhost' in postgresql.conf) to eliminate remote attack surface; enable SSL/GSS authentication if not already configured, as this reduces exposure to AF_UNIX socket attacks only (though does not eliminate the vulnerability). Trade-offs: network restrictions may break legitimate remote access; localhost-only binding prevents distributed application architectures; enabling SSL/GSS requires certificate/credential management overhead. These mitigations reduce but do not eliminate risk-patching remains the definitive fix. Restart PostgreSQL service after applying any configuration changes.

Affected VersionsENISA

PostgreSQL 17 <17.10
PostgreSQL 18 <18.4
PostgreSQL 16 <16.14
PostgreSQL 15 <15.18
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 SSL and GSS (Generic Security Services) negotiation protocols contain an uncontrolled recursion vulnerability (CWE-674). During connection establishment, the server's SSL/GSS handshake logic can be manipulated to trigger recursive function calls that exhaust stack memory, causing the database process to crash. The vulnerability exists in the connection negotiation phase before authentication, affecting the postmaster or backend processes that handle new connections. The CPE string indicates this affects PostgreSQL database server installations across platforms. When SSL and GSS are both disabled, the attack surface expands from AF_UNIX (local domain) sockets to include TCP network sockets, significantly widening the potential attacker base from local users to remote network adversaries.

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 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

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

Lifecycle Timeline

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

DescriptionCVE.org

Uncontrolled recursion in PostgreSQL SSL and GSS negotiation allows an attacker able to connect to a PostgreSQL AF_UNIX socket to achieve sustained denial of service. If SSL and GSS are both disabled, an attacker can do the same via access to a PostgreSQL TCP socket. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

Executive ViewAI

Why It Matters

CVE-2026-6479 is a remote denial-of-service vulnerability affecting PostgreSQL that allows unauthenticated attackers to crash database servers through malformed SSL/GSS negotiation, potentially disrupting business-critical data availability across all PostgreSQL instances prior to patched versions 18.4, 17.10, 16.14, 15.18, and 14.23. Organizations running unpatched PostgreSQL must prioritize immediate patching to prevent service interruptions and data access failures.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, implement network-level access controls to restrict unauthenticated connections to PostgreSQL ports (5432 default) to known internal IP ranges only; disable SSL and GSS protocols if not operationally required and document exceptions for audit purposes.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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: High
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://access.redhat.com/errata/RHSA-2026:22878 ADVISORY https://access.redhat.com/errata/RHSA-2026:26181 ADVISORY https://access.redhat.com/errata/RHSA-2026:26203 ADVISORY https://access.redhat.com/errata/RHSA-2026:26204 ADVISORY https://access.redhat.com/errata/RHSA-2026:26524 ADVISORY https://access.redhat.com/errata/RHSA-2026:26525 ADVISORY https://access.redhat.com/errata/RHSA-2026:26561 ADVISORY https://access.redhat.com/errata/RHSA-2026:27718 ADVISORY https://access.redhat.com/errata/RHSA-2026:27742 ADVISORY https://access.redhat.com/errata/RHSA-2026:27743 ADVISORY https://access.redhat.com/errata/RHSA-2026:28037 ADVISORY https://access.redhat.com/errata/RHSA-2026:28143 ADVISORY https://access.redhat.com/errata/RHSA-2026:32983 ADVISORY https://access.redhat.com/errata/RHSA-2026:33441 ADVISORY https://access.redhat.com/errata/RHSA-2026:33497 ADVISORY https://access.redhat.com/errata/RHSA-2026:44481 ADVISORY https://access.redhat.com/errata/RHSA-2026:44568 ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-6479 ADVISORY https://ubuntu.com/security/notices/USN-8294-1 ADVISORY https://vuldb.com/vuln/363876 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://www.postgresql.org/support/security/CVE-2026-6479/

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