PT-2026-40922 · Postgresql Global Development Group+5 · Pgpdump+6

·

CVE-2026-6477

·

Published

2026-05-14

·

Updated

2026-07-23

CVSS v2.0

10

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions PostgreSQL versions prior to 18.4 PostgreSQL versions prior to 17.10 PostgreSQL versions prior to 16.14 PostgreSQL versions prior to 15.18 PostgreSQL versions prior to 14.23
Description The use of the dangerous function PQfn(..., result is int=0, ...) within the libpq lo export(), lo read(), lo lseek64(), and lo tell64() functions allows a server superuser to overwrite a client stack buffer with an arbitrarily-large response. This occurs because the function stores server-determined data of arbitrary length into a buffer of unspecified size. Consequently, since the lo export command in psql and pg dump utilize lo read(), a server superuser can overwrite the stack memory of psql or pg dump.
Recommendations Update to version 18.4 or later. Update to version 17.10 or later. Update to version 16.14 or later. Update to version 15.18 or later. Update to version 14.23 or later.

Fix

DoS

Stack Overflow

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2026:26181
ALSA-2026:26203
ALSA-2026:26204
ALSA-2026:27738
ALSA-2026:27741
ALSA-2026:27743
ALSA-2026:28037
ALSA-2026:44308
ALSA-2026:44391
BDU:2026-07098
BIT-POSTGRESQL-2026-6477
CVE-2026-6477
ECHO-C9B4-8303-30F9
JLSEC-2026-604
OESA-2026-2381
OESA-2026-2382
OESA-2026-2413
OESA-2026-2414
OESA-2026-2479
OPENSUSE-SU-2026:10806-1
OPENSUSE-SU-2026:10807-1
OPENSUSE-SU-2026:10808-1
OPENSUSE-SU-2026:10809-1
OPENSUSE-SU-2026:10828-1
OPENSUSE-SU-2026:20970-1
OPENSUSE-SU-2026:21102-1
OPENSUSE-SU-2026:21103-1
OPENSUSE-SU-2026:21104-1
RHSA-2026:22878
RHSA-2026:26181
RHSA-2026:26203
RHSA-2026:26204
RHSA-2026:26524
RHSA-2026:26525
RHSA-2026:26561
RHSA-2026:27718
RHSA-2026:27738
RHSA-2026:27741
RHSA-2026:27742
RHSA-2026:27743
RHSA-2026:28037
RHSA-2026:33497
RHSA-2026:34043
RHSA-2026:34362
RHSA-2026:34363
RHSA-2026:44308
RHSA-2026:44391
SUSE-SU-2026:22077-1
SUSE-SU-2026:22149-1
SUSE-SU-2026:22177-1
SUSE-SU-2026:22183-1
SUSE-SU-2026:22184-1
USN-8294-1

Affected Products

Linuxmint
Postgresql
Red Os
Rocky Linux
Ubuntu
Pgpdump
Psql