Bug 2388551 (CVE-2025-8715) - CVE-2025-8715 postgresql: PostgreSQL executes arbitrary code in restore operation
Summary: CVE-2025-8715 postgresql: PostgreSQL executes arbitrary code in restore opera...
Keywords:
Status: NEW
Alias: CVE-2025-8715
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2388625 2388627 2388629 2388631 2388633 2388635
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-14 14:01 UTC by OSIDB Bzimport
Modified: 2025-10-01 02:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:14826 0 None None None 2025-08-28 06:05:01 UTC
Red Hat Product Errata RHSA-2025:14827 0 None None None 2025-08-28 06:22:18 UTC
Red Hat Product Errata RHSA-2025:14862 0 None None None 2025-08-28 10:14:52 UTC
Red Hat Product Errata RHSA-2025:14869 0 None None None 2025-08-28 12:12:33 UTC
Red Hat Product Errata RHSA-2025:14870 0 None None None 2025-08-28 12:23:47 UTC
Red Hat Product Errata RHSA-2025:14878 0 None None None 2025-08-28 13:38:19 UTC
Red Hat Product Errata RHSA-2025:14899 0 None None None 2025-08-28 16:56:05 UTC
Red Hat Product Errata RHSA-2025:15006 0 None None None 2025-09-02 05:04:54 UTC
Red Hat Product Errata RHSA-2025:15012 0 None None None 2025-09-02 03:45:08 UTC
Red Hat Product Errata RHSA-2025:15013 0 None None None 2025-09-02 04:03:41 UTC
Red Hat Product Errata RHSA-2025:15014 0 None None None 2025-09-02 05:35:39 UTC
Red Hat Product Errata RHSA-2025:15015 0 None None None 2025-09-02 05:19:38 UTC
Red Hat Product Errata RHSA-2025:15021 0 None None None 2025-09-02 05:00:49 UTC
Red Hat Product Errata RHSA-2025:15022 0 None None None 2025-09-02 05:02:26 UTC
Red Hat Product Errata RHSA-2025:15031 0 None None None 2025-09-02 06:40:30 UTC
Red Hat Product Errata RHSA-2025:15034 0 None None None 2025-09-02 06:50:31 UTC
Red Hat Product Errata RHSA-2025:15057 0 None None None 2025-09-02 10:58:49 UTC
Red Hat Product Errata RHSA-2025:15062 0 None None None 2025-09-02 11:50:12 UTC
Red Hat Product Errata RHSA-2025:15114 0 None None None 2025-09-03 05:36:12 UTC
Red Hat Product Errata RHSA-2025:15115 0 None None None 2025-09-03 08:27:12 UTC
Red Hat Product Errata RHSA-2025:15359 0 None None None 2025-09-04 14:45:08 UTC
Red Hat Product Errata RHSA-2025:15361 0 None None None 2025-09-04 14:37:01 UTC

Description OSIDB Bzimport 2025-08-14 14:01:32 UTC
Improper neutralization of newlines in pg_dump in PostgreSQL allows a user 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 inside a purpose-crafted object name.  The same attacks can achieve SQL injection as a superuser of the restore target server.  pg_dumpall, pg_restore, and pg_upgrade are also affected.  Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.  Versions before 11.20 are unaffected.  CVE-2012-0868 had fixed this class of problem, but version 11.20 reintroduced it.

Comment 2 errata-xmlrpc 2025-08-28 06:05:00 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:51 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:32 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:46 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:18 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:04 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:07 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:40 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:47 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:25 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:37 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:28 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:30 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:10 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:11 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:36:59 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


Note You need to log in before you can comment on or make changes to this bug.