Red Hat Security Advisory: postgresql:12 security update
🔗 CVE IDs covered (2)
📋 Description
CVE-2025-8714 — postgresql: PostgreSQL code execution in restore operation CVE-2026-18408 — postgresql: PostgreSQL: Arbitrary code execution via untrusted data inclusion in pg_dump
🎯 Affected products138
- Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.aarch64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.ppc64le (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.s390x (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.src (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.x86_64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-debuginfo-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.aarch64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-debuginfo-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.ppc64le (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-debuginfo-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.s390x (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-debuginfo-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.x86_64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-debugsource-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.aarch64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-debugsource-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.ppc64le (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-debugsource-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.s390x (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pg_repack-debugsource-0:1.4.6-3.module+el8.9.0+19330+c97ddbdf.x86_64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.aarch64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.ppc64le (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.s390x (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.src (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.x86_64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-debuginfo-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.aarch64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-debuginfo-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.ppc64le (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-debuginfo-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.s390x (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-debuginfo-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.x86_64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-debugsource-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.aarch64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-debugsource-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.ppc64le (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-debugsource-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.s390x (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pgaudit-debugsource-0:1.4.0-7.module+el8.10.0+22214+9beb89d6.x86_64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- postgres-decoderbufs-0:0.10.0-2.module+el8.9.0+19330+c97ddbdf.aarch64 (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- postgres-decoderbufs-0:0.10.0-2.module+el8.9.0+19330+c97ddbdf.ppc64le (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- postgres-decoderbufs-0:0.10.0-2.module+el8.9.0+19330+c97ddbdf.s390x (postgresql:12) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- +108 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Do not restore a dump file from a server or user you do not explicitly trust. Workaround: To mitigate this vulnerability, administrators should avoid generating or restoring pg_dump files from untrusted or public origin servers using the psql client. If restoring a plain-format dump from an unverified source is strictly necessary, manually inspect the file for unauthorized \restrict or \unrestrict meta-commands before execution, or isolate the restore process in a sandboxed environment
🔗 References (5)
- selfhttps://access.redhat.com/errata/RHSA-2026:72274
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2388553
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2515303
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_72274.json