PostgreSQL libpq Large Object Functions Call a Dangerous PQfn() Mode a Malicious Server Can Abuse, Spanning 19 Red Hat Products
Last refreshed2026-11-16
Status: UPDATED
| Advisory ID: CVE-2026-6477
Key Details
CVE
CVE-2026-6477
CVSS Score / Version
8.8 (High) / CVSS v3.1
Updated
2026-11-11
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is required; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
see table below
Classified as
CWE-242 (Use of Inherently Dangerous Function)
Exploitation prediction (EPSS)
0.45% probability of exploitation in the next 30 days (40% percentile) -- FIRST.org's EPSS model.
Affected Products, Subsystems & Sectors
Vendor
Product
Affected Versions
Patch Status
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
Red Hat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
Red Hat
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Red Hat
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9
Red Hat
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.6 Extended Update Support
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Hardened Images
Red Hat
Red Hat Enterprise Linux 7 Extended Lifecycle Support
Red Hat
Red Hat Discovery 2
Red Hat
Self-service automation portal 2
postgresql
postgresql
Subsystems
OT Supporting Infrastructure
Sectors
Multiple
What to Know
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. (NVD)
What to Do
Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected. Version Information: Affected Version 18 -> Fixed In 18.4; 17 -> 17.10; 16 -> 16.14; 15 -> 15.18; 14 -> 14.23 (Fix Published 2026-05-14). Source: PostgreSQL Global Development Group CVE-2026-6477