Bug 2388553 (CVE-2025-8714)

Summary: CVE-2025-8714 postgresql: PostgreSQL code execution in restore operation
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in PostgreSQL. This vulnerability allows a malicious superuser on a PostgreSQL server to inject arbitrary code into dump files created by pg_dump, pg_dumpall, and pg_restore, causing arbitrary code execution on the client machine when these dump files are restored by psql due to untrusted data inclusion.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2388624, 2388626, 2388628, 2388630, 2388632, 2388634    
Bug Blocks:    

Description OSIDB Bzimport 2025-08-14 14:01:43 UTC
Untrusted data inclusion in pg_dump 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.  pg_dumpall is also affected.  pg_restore 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.

Comment 2 errata-xmlrpc 2025-08-28 06:05:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:14826 https://access.redhat.com/errata/RHSA-2025:14826

Comment 3 errata-xmlrpc 2025-08-28 06:22:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:14827 https://access.redhat.com/errata/RHSA-2025:14827

Comment 4 errata-xmlrpc 2025-08-28 10:14:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:14862 https://access.redhat.com/errata/RHSA-2025:14862

Comment 5 errata-xmlrpc 2025-08-28 12:12:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:14869 https://access.redhat.com/errata/RHSA-2025:14869

Comment 6 errata-xmlrpc 2025-08-28 12:23:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:14870 https://access.redhat.com/errata/RHSA-2025:14870

Comment 7 errata-xmlrpc 2025-08-28 13:38:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:14878 https://access.redhat.com/errata/RHSA-2025:14878

Comment 8 errata-xmlrpc 2025-08-28 16:56:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:14899 https://access.redhat.com/errata/RHSA-2025:14899

Comment 9 errata-xmlrpc 2025-09-02 03:45:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2025:15012 https://access.redhat.com/errata/RHSA-2025:15012

Comment 10 errata-xmlrpc 2025-09-02 04:03:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2025:15013 https://access.redhat.com/errata/RHSA-2025:15013

Comment 11 errata-xmlrpc 2025-09-02 05:00:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:15021 https://access.redhat.com/errata/RHSA-2025:15021

Comment 12 errata-xmlrpc 2025-09-02 05:02:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:15022 https://access.redhat.com/errata/RHSA-2025:15022

Comment 13 errata-xmlrpc 2025-09-02 05:04:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:15006 https://access.redhat.com/errata/RHSA-2025:15006

Comment 14 errata-xmlrpc 2025-09-02 05:19:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:15015 https://access.redhat.com/errata/RHSA-2025:15015

Comment 15 errata-xmlrpc 2025-09-02 05:35:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:15014 https://access.redhat.com/errata/RHSA-2025:15014

Comment 16 errata-xmlrpc 2025-09-02 06:40:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2025:15031 https://access.redhat.com/errata/RHSA-2025:15031

Comment 17 errata-xmlrpc 2025-09-02 06:50:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support

Via RHSA-2025:15034 https://access.redhat.com/errata/RHSA-2025:15034

Comment 18 errata-xmlrpc 2025-09-02 10:58:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support

Via RHSA-2025:15057 https://access.redhat.com/errata/RHSA-2025:15057

Comment 19 errata-xmlrpc 2025-09-02 11:50:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:15062 https://access.redhat.com/errata/RHSA-2025:15062

Comment 20 errata-xmlrpc 2025-09-03 05:36:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:15114 https://access.redhat.com/errata/RHSA-2025:15114

Comment 21 errata-xmlrpc 2025-09-03 08:27:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:15115 https://access.redhat.com/errata/RHSA-2025:15115

Comment 22 errata-xmlrpc 2025-09-04 14:37:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2025:15361 https://access.redhat.com/errata/RHSA-2025:15361

Comment 23 errata-xmlrpc 2025-09-04 14:45:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:15359 https://access.redhat.com/errata/RHSA-2025:15359

Comment 24 errata-xmlrpc 2025-09-17 15:28:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2025:16099 https://access.redhat.com/errata/RHSA-2025:16099