Skip to main content

PostgreSQL EUVDEUVD-2026-30281

| CVE-2026-6473 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-05-14 PostgreSQL GHSA-8rqw-w7xq-566r
8.8
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

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

  1. Recon
    Obtain valid database credentials
  2. Delivery
    Establish remote PostgreSQL connection
  3. Exploit
    Craft SQL query with gigabyte-scale parameters
  4. Install
    Trigger integer wraparound in allocation
  5. C2
    Overflow undersized buffer with controlled data
  6. Execute
    Execute arbitrary code as postgres OS user
  7. Impact
    Extract data or compromise host

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated database user credentials (PR:L from CVSS vector) - attacker must possess valid username/password for any PostgreSQL database user account, including low-privilege accounts. No elevated database roles (superuser, createdb, replication) are required. Exploitation requires the attacker to invoke specific vulnerable PostgreSQL server features with gigabyte-scale inputs (multi-gigabyte parameters or query payloads). The PostgreSQL security advisory states 'multiple server features' are affected but does not specify which functions, operations, or SQL commands trigger the vulnerability. Applications that accept large user-controlled inputs and pass them to PostgreSQL without size validation create indirect attack paths. Limiting factors that reduce real-world risk: (1) Gigabyte-scale input requirement means attackers need ability to transmit large payloads, which may be constrained by network timeouts, application upload limits, or database client libraries; (2) Authenticated access requirement excludes purely external attackers without credentials; (3) Detection likelihood increases due to observable gigabyte-scale queries in database logs. Does NOT require: specific non-default PostgreSQL configuration, specialized extensions, or particular client applications. The network vector (AV:N) confirms remote exploitation over TCP connections without physical or local access.

Impact

The CVSS score of 8.8 reflects HIGH severity with concerning metrics: network-based attack (AV:N), low complexity (AC:L), no user interaction required (UI:N), and full impact to confidentiality, integrity, and availability (C:H/I:H/A:H). The only mitigating factor is low privilege requirement (PR:L) - attackers need authenticated database user credentials, not just network access. This significantly reduces the attack surface compared to unauthenticated RCE. EPSS score unavailable for risk calibration. Not present in CISA KEV, indicating no confirmed active exploitation at time of analysis. Public exploit code status unknown. The critical risk factor is that many applications already grant database user credentials to application tiers, web services, or user-facing systems, making the PR:L requirement less protective in practice. Applications accepting user-controlled data sizes (file uploads, bulk operations, API payloads) that pass through to PostgreSQL functions become indirect attack vectors. The 'gigabyte-scale input' prerequisite may limit opportunistic exploitation but does not prevent determined attackers with legitimate database access. Priority assessment: IMMEDIATE patching for internet-facing databases or multi-tenant environments; HIGH priority for internal databases with application-layer access; MODERATE priority for databases with strictly controlled user access and input validation. Key uncertainty: Specific affected PostgreSQL functions not disclosed - security teams cannot implement targeted function-level restrictions without vendor details.

Exploit ScenarioDerived

An attacker with valid database user credentials (obtained through phishing, credential reuse, or compromised application) connects to the PostgreSQL server over the network. The attacker crafts SQL queries invoking vulnerable server features with carefully constructed gigabyte-scale parameters designed to trigger integer wraparound during internal memory allocation calculations. The wraparound causes PostgreSQL to allocate insufficient buffer space, and subsequent data writes overflow the undersized buffer, corrupting adjacent memory regions. By precisely controlling the overflow content and target memory layout, the attacker achieves arbitrary code execution with the privileges of the PostgreSQL operating system user (typically 'postgres'). From this position, the attacker can extract all database contents, modify records, establish persistence via database triggers or extensions, or pivot to compromise the underlying host system. The low attack complexity (AC:L) suggests exploitation does not require race condition wins or specialized timing.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 14, 2026

Remote code execution in PostgreSQL (versions 14.x-18.x) allows authenticated database users to execute arbitrary code as the database operating system user via integer wraparound vulnerabilities in multiple server features. By passing gigabyte-scale inputs to affected database functions, attackers trigger allocation undersizing that leads to out-of-bounds writes. No active exploitation confirmed (not in CISA KEV), but CVSS 8.8 with network vector and low complexity indicates high exploitability once technical details become public. EPSS data not available at time of analysis.

RemediationAI

Upgrade immediately to patched PostgreSQL versions: 14.23, 15.18, 16.14, 17.10, or 18.4, available from https://www.postgresql.org/download/ and the official security advisory at https://www.postgresql.org/support/security/CVE-2026-6473/. Standard upgrade process: backup database, install new binaries, run pg_upgrade or dump/restore, restart service. Cloud-managed PostgreSQL users (RDS, Azure, GCP) should apply vendor-provided patches through their respective consoles or enable automatic minor version upgrades. If immediate patching is impossible, implement these compensating controls with noted limitations: (1) Restrict database user privileges to minimum necessary - revoke access to non-essential functions, but this requires knowing which specific functions are vulnerable (not disclosed in available data); (2) Implement application-layer input size validation - reject inputs exceeding reasonable thresholds (e.g., 100MB) before passing to database, though this may break legitimate large data operations; (3) Deploy database activity monitoring to detect anomalous gigabyte-scale queries from unexpected users - provides detection but not prevention; (4) Network segmentation - limit database access to trusted application servers only via firewall rules, reducing attack surface but not eliminating risk from compromised application accounts. None of these workarounds provide complete protection; patching is the only reliable remediation.

Affected VersionsENISA

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

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

This vulnerability stems from CWE-190 (Integer Overflow/Wraparound) affecting PostgreSQL's memory allocation logic in multiple server-side features. When processing extremely large inputs (gigabyte-scale), integer wraparound causes the server to calculate insufficient buffer sizes during memory allocation. The undersized allocation results in subsequent out-of-bounds writes that corrupt memory, enabling arbitrary code execution with the privileges of the PostgreSQL daemon process (typically 'postgres' user). The affected CPE indicates the core PostgreSQL database server across multiple major versions (14, 15, 16, 17, 18). Integer overflow vulnerabilities are particularly dangerous in database systems because user-controlled input sizes can directly influence internal calculations, and databases routinely handle large data volumes. The network attack vector (AV:N) combined with multiple affected server features suggests the vulnerability is broadly exploitable across different database operations rather than confined to a single obscure function.

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

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

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

Lifecycle Timeline

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

DescriptionCVE.org

Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds. This may execute arbitrary code as the operating system user running the database. In applications that pass gigabyte-scale user inputs to the relevant database functions, the application input provider may achieve a segmentation fault. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

Executive ViewAI

Why It Matters

PostgreSQL versions 14.x through 18.x contain a remote code execution vulnerability (CVSS 8.8) that allows authenticated database users to execute arbitrary commands with database service privileges through integer wraparound attacks. Organizations running affected PostgreSQL instances face immediate risk of data theft, system compromise, and operational disruption if this vulnerability is exploited by insider threats or compromised database accounts.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce strict database authentication and role-based access controls-limit database user privileges to application-required operations only; (2) Implement network-layer segmentation restricting database connectivity to known, trusted application servers; (3) Enable comprehensive database audit logging to detect suspicious activity; (4) Monitor for gigabyte-scale input submissions to database functions; (5) Reduce attack surface by disabling unnecessary PostgreSQL extensions and server features; (6) Implement connection rate limiting and input size validation at application layer.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% 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.1%
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
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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:22878 ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-6473 ADVISORY https://ubuntu.com/security/notices/USN-8294-1 ADVISORY https://vuldb.com/vuln/363869 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: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:44568 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-6473 REF https://bugzilla.redhat.com/show_bug.cgi?id=2477448 REF https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6473.json REF https://www.postgresql.org/support/security/CVE-2026-6473/

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