← All Advisories
Reported from OT-Advisories.com as of

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

CVECVE-2026-6477
CVSS Score / Version
8.8 (High) / CVSS v3.1
Updated2026-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

VendorProductAffected VersionsPatch Status
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support
Red HatRed Hat Update Infrastructure 5
Red HatRed Hat Hardened Images
Red HatRed Hat Enterprise Linux 7 Extended Lifecycle Support
Red HatRed Hat Discovery 2
Red HatSelf-service automation portal 2
postgresqlpostgresql
SubsystemsOT Supporting Infrastructure
SectorsMultiple

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

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-6477
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-6477
Vendor advisoryhttps://www.postgresql.org/support/security/CVE-2026-6477/
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.