PT-2026-40922

CVE-2026-6477

·

Published

2026-05-14

·

Updated

2026-08-25

Description by

CVSS 2.0
10
High
MetricsAV: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.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALSA-2026:26181
ALSA-2026:26203
ALSA-2026:26204
ALSA-2026:27738
ALSA-2026:27741
ALSA-2026:27742
ALSA-2026:27743
ALSA-2026:28037
ALSA-2026:28143
ALSA-2026:28208
ALSA-2026:28999
ALSA-2026:44308
ALSA-2026:44391
AZL-86840
BIT-POSTGRESQL-2026-6477
CLSA-2026-1779465604
CLSA-2026-1779465893
CLSA-2026-1779707025
CLSA-2026-1780965584
CLSA-2026-1785227558
CLSA-2026-1785316580
CLSA-2026-1787395689
ECHO-C9B4-8303-30F9
JLSEC-2026-604
OESA-2026-2381
OESA-2026-2382
OESA-2026-2413
OESA-2026-2414
OESA-2026-2462
OESA-2026-2479
OESA-2026-2538
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:32983
RHSA-2026:32994
RHSA-2026:33441
RHSA-2026:33497
RHSA-2026:34043
RHSA-2026:34362
RHSA-2026:34363
RHSA-2026:35880
RHSA-2026:42555
RHSA-2026:44308
RHSA-2026:44391
RHSA-2026:44420
RHSA-2026:47090
RHSA-2026:49908
RHSA-2026:49909
RHSA-2026:50779
RHSA-2026:50863
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
Found an issue in the description? Have something to add? Feel free to write us 👾