CVE-2026-6477

Published: Mag 14, 2026 Last Modified: Mag 18, 2026
ExploitDB:
Other exploit source:
Google Dorks:
HIGH 8,8
Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: required
Scope: unchanged
Confidentiality: high
Integrity: high
Availability: high

Description

AI Translation Available

Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq lo_export(), lo_read(), lo_lseek64(), and lo_tell64() functions allows the server superuser to overwrite a client stack buffer with an arbitrarily-large response. Like gets(), PQfn(..., result_is_int=0, ...) stores arbitrary-length, server-determined data into a buffer of unspecified size. Because both the \lo_export command in psql and pg_dump call lo_read(), the server superuser can overwrite pg_dump or psql stack memory. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0004
Percentile
0,1th
Updated

EPSS Score Trend (Last 6 Days)

242

Use of Inherently Dangerous Function

Draft
Common Consequences
Security Scopes Affected:
Other
Potential Impacts:
Varies By Context
Applicable Platforms
Languages: C, C++
View CWE Details
Application

Postgresql by Postgresql

Version Range Affected
From 15.0 (inclusive)
To 15.18 (exclusive)
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Postgresql by Postgresql

Version Range Affected
From 17.0 (inclusive)
To 17.10 (exclusive)
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Postgresql by Postgresql

Version Range Affected
From 16.0 (inclusive)
To 16.14 (exclusive)
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Postgresql by Postgresql

Version Range Affected
To 14.23 (exclusive)
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Postgresql by Postgresql

Version Range Affected
From 18.0 (inclusive)
To 18.4 (exclusive)
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://www.postgresql.org/support/security/CVE-2026-6477/