REDHAT-BUG-2388553: High severity PostgreSQL postgresql vulnerability

Published Aug 14, 2025
·
Updated

Untrusted data inclusion in pgdump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql meta-commands. pgdumpall is also affected. pgrestore is affected when used to generate a plain-format dump. This is similar to MySQL CVE-2024-21096. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.

Affected Software

4 affected components
PostgreSQL postgresql<13.22, <14.19, <15.14, <16.10, <17.6
PostgreSQL pg_dump<13.22, <14.19, <15.14, <16.10, <17.6
PostgreSQL pg_dumpall<13.22, <14.19, <15.14, <16.10, <17.6
PostgreSQL pg_restore<13.22, <14.19, <15.14, <16.10, <17.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 17.6
  2. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 16.10
  3. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 15.14
  4. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 14.19
  5. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 13.22

Event History

Aug 14, 2025
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2388553?

The severity of REDHAT-BUG-2388553 is critical due to the potential for arbitrary code execution.

2

How do I fix REDHAT-BUG-2388553?

To fix REDHAT-BUG-2388553, upgrade PostgreSQL to versions later than 13.22, 14.19, 15.14, 16.10, and 17.6.

3

What versions of PostgreSQL are affected by REDHAT-BUG-2388553?

PostgreSQL versions up to 13.21, 14.18, 15.13, 16.9, and 17.5 are affected by REDHAT-BUG-2388553.

4

What components are impacted by REDHAT-BUG-2388553?

REDHAT-BUG-2388553 impacts pg_dump, pg_dumpall, and pg_restore components of PostgreSQL.

5

Who can exploit REDHAT-BUG-2388553?

A malicious superuser of the origin server can exploit REDHAT-BUG-2388553 to inject arbitrary code.

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