{"id":"ALSA-2026:104964","summary":"Important: postgresql16 security update","details":"PostgreSQL is an advanced Object-Relational database management system (DBMS). The base postgresql package contains the client programs that you'll need to access a PostgreSQL DBMS server, as well as HTML documentation for the whole system. These client programs can be located on the same machine as the PostgreSQL server, or on a remote machine that accesses a PostgreSQL server over a network connection. The PostgreSQL server can be found in the postgresql-server sub-package.  \n\nSecurity Fix(es):  \n\n  * postgresql: postgresql: Arbitrary code execution via composite-value field assignment type confusion (CVE-2026-116306)\n  * postgresql: postgresql: Arbitrary code execution via use-after-free in PL/Tcl (CVE-2026-116323)\n  * postgresql: postgresql: Arbitrary code execution via use-after-free during portal setup (CVE-2026-116332)\n  * postgresql: postgresql: Arbitrary code execution via type confusion in materialized set-returning functions (CVE-2026-120141)\n  * postgresql: postgresql: Arbitrary code execution via type confusion in SQL-language functions (CVE-2026-18447)\n  * postgresql: postgresql: Arbitrary code execution via heap-based buffer overflow in tsvector_delete() (CVE-2026-116315)\n  * postgresql: postgresql: Privilege escalation via uncontrolled search path in extension management (CVE-2026-6467)\n  * postgresql: postgresql: Arbitrary code execution via uncaught exceptions in PL/Perl (CVE-2026-116326)\n  * postgresql: postgresql: Arbitrary code execution via use-after-free in trigger functions (CVE-2026-120143)\n  * postgresql: postgresql: Arbitrary code execution via use-after-free in plperl (CVE-2026-116319)\n  * postgresql: postgresql: Arbitrary code execution via use-after-free in expanded-record domain checks (CVE-2026-120150)\n  * postgresql: postgresql: Arbitrary code execution via foreign batch inserts (CVE-2026-120149)\n  * postgresql: postgresql: Arbitrary code execution via type confusion in PL/Perl (CVE-2026-116309)\n  * postgresql: postgresql: Arbitrary code execution via predictable restriction key in pg_dump restore script (CVE-2026-116330)\n  * postgresql: postgresql: Arbitrary code execution via system catalog replication target (CVE-2026-120145)\n  * postgresql: postgresql: Arbitrary code execution via type confusion in extended statistics (CVE-2026-120148)\n  * postgresql: postgresql: Arbitrary code execution via PL/pgSQL type confusion (CVE-2026-120151)\n  * postgresql: postgresql: Arbitrary code execution via use-after-free in dblink extension (CVE-2026-120147)\n  * postgresql: postgresql: Arbitrary code execution via use-after-free in plperl (CVE-2026-116307)\n  * postgresql: postgresql: Arbitrary code execution via crafted archive in pg_restore (CVE-2026-116314)\n  * postgresql: postgresql: Arbitrary code execution via integer wraparound in memory contexts (CVE-2026-116328)\n  * postgresql: postgresql: Arbitrary code execution via dropped index in REINDEX CONCURRENTLY (CVE-2026-116336)\n  * postgresql: postgresql: Arbitrary code execution via aggregate optimization type confusion (CVE-2026-116331)\n  * postgresql: PostgreSQL: Privilege escalation via unqualified type resolution in temporary schema (CVE-2026-116316)\n  * postgresql: postgresql: Arbitrary code execution via use-after-free in PL/Perl (CVE-2026-116320)\n  * postgresql: PostgreSQL: Arbitrary code execution via operator link type confusion (CVE-2026-116335)\n  * postgresql: postgresql: arbitrary code execution via SQL injection in extension-script substitutions (CVE-2026-120153)\n  * postgresql: postgresql: Arbitrary code execution via heap-based buffer overflow in ts_rank_cd() (CVE-2026-116317)\n  * postgresql: postgresql: Arbitrary code execution via use-after-free in parallel worker coordination (CVE-2026-116304)\n  * postgresql: postgresql: Arbitrary code execution via type confusion in data definition commands (CVE-2026-6460)\n  * postgresql: postgresql: Arbitrary code execution via integer wraparound in tuple-size calculations (CVE-2026-120139)\n\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n","modified":"2026-12-02T12:45:02.248085528Z","published":"2026-11-30T00:00:00Z","related":["CVE-2026-116304","CVE-2026-116306","CVE-2026-116307","CVE-2026-116309","CVE-2026-116314","CVE-2026-116315","CVE-2026-116316","CVE-2026-116317","CVE-2026-116319","CVE-2026-116320","CVE-2026-116323","CVE-2026-116326","CVE-2026-116328","CVE-2026-116330","CVE-2026-116331","CVE-2026-116332","CVE-2026-116335","CVE-2026-116336","CVE-2026-120139","CVE-2026-120141","CVE-2026-120143","CVE-2026-120145","CVE-2026-120147","CVE-2026-120148","CVE-2026-120149","CVE-2026-120150","CVE-2026-120151","CVE-2026-120153","CVE-2026-18447","CVE-2026-6460","CVE-2026-6467"],"upstream":["CVE-2026-116304","CVE-2026-116306","CVE-2026-116307","CVE-2026-116309","CVE-2026-116314","CVE-2026-116315","CVE-2026-116316","CVE-2026-116317","CVE-2026-116319","CVE-2026-116320","CVE-2026-116323","CVE-2026-116326","CVE-2026-116328","CVE-2026-116330","CVE-2026-116331","CVE-2026-116332","CVE-2026-116335","CVE-2026-116336","CVE-2026-120139","CVE-2026-120141","CVE-2026-120143","CVE-2026-120145","CVE-2026-120147","CVE-2026-120148","CVE-2026-120149","CVE-2026-120150","CVE-2026-120151","CVE-2026-120153","CVE-2026-18447","CVE-2026-6460","CVE-2026-6467"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:104964"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116304"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116306"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116307"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116309"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116314"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116315"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116316"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116317"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116319"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116320"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116323"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116326"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116328"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116330"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116331"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116332"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116335"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-116336"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120139"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120141"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120143"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120145"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120147"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120148"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120149"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120150"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120151"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120153"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-18447"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-6460"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-6467"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572528"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572529"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572530"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572531"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572532"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572536"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572538"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572540"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572542"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572545"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572547"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572548"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572550"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572551"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572553"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572555"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572556"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572559"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572560"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572561"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572562"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572563"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572566"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572568"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572569"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572570"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572571"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572573"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572576"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572578"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572580"},{"type":"ADVISORY","url":"https://errata.almalinux.org/10/ALSA-2026-104964.html"}],"affected":[{"package":{"name":"postgresql","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-contrib","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-contrib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-docs","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-docs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-plperl","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-plperl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-plpython3","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-plpython3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-pltcl","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-pltcl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-private-devel","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-private-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-private-libs","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-private-libs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-server","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-server-devel","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-server-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-static","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-static"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-test","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-test"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-test-rpm-macros","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-test-rpm-macros"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-upgrade","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-upgrade"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}},{"package":{"name":"postgresql-upgrade-devel","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql-upgrade-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.16-1.el10_3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:104964.json"}}],"schema_version":"1.9.2"}