REDHAT-BUG-2477442: High severity PostgreSQL postgresql vulnerability

Published May 14, 2026
·
Updated

Use of inherently dangerous function PQfn(..., resultisint=0, ...) in PostgreSQL libpq loexport(), loread(), lolseek64(), and lotell64() functions allows the server superuser to overwrite a client stack buffer with an arbitrarily-large response. Like gets(), PQfn(..., resultisint=0, ...) stores arbitrary-length, server-determined data into a buffer of unspecified size. Because both the \loexport command in psql and pgdump call loread(), the server superuser can overwrite pgdump or psql stack memory. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

Affected Software

1 affected component
PostgreSQL postgresql<18.4, <17.10, <16.14, <15.18, <14.23

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.4
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.10
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.14
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.18
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.23

Event History

May 14, 2026
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2477442?

The severity of REDHAT-BUG-2477442 is high (7).

2

How do I fix REDHAT-BUG-2477442?

To fix REDHAT-BUG-2477442, it is recommended to update your PostgreSQL installation to the latest patched version.

3

What functions are affected by REDHAT-BUG-2477442?

The functions affected by REDHAT-BUG-2477442 are lo_export(), lo_read(), lo_lseek64(), and lo_tell64() in PostgreSQL libpq.

4

What is the risk associated with REDHAT-BUG-2477442?

The risk associated with REDHAT-BUG-2477442 includes the potential for a server superuser to overwrite a client stack buffer.

5

Who is affected by REDHAT-BUG-2477442?

Users of PostgreSQL who utilize the affected functions may be vulnerable to exploitation due to REDHAT-BUG-2477442.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203