Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-6477 Details

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://access.redhat.com/errata/RHSA-2026:21182 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:22878 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:26181 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:26203 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:26204 redhat-SADP

see all 46 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')redhat-SADP
CWE-242Use of Inherently Dangerous FunctionPostgreSQL

Affected Products

ProductVersions
postgresql postgresql
< 14.23
>= 15.0, < 15.18
>= 16.0, < 16.14
>= 17.0, < 17.10
>= 18.0, < 18.4

CPE

  • cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

20 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-6477
NVD Published Date:
May 14, 2026
NVD Last Modified:
Aug 25, 2026
Source:
PostgreSQL