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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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