{"id":"ALSA-2026:104854","summary":"Important: postgresql:18 security update","details":"PostgreSQL is an advanced object-relational database management system (DBMS).  \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 incomplete type-cache invalidation (CVE-2026-120144)\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 SQL execution in reindexdb via crafted index name (CVE-2026-116325)\n  * postgresql: postgresql: Arbitrary code execution via use-after-free in trigger functions (CVE-2026-120143)\n  * postgresql: postgresql: Privilege escalation via untrusted search path in vacuumdb (CVE-2026-116313)\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 anonymous RECORD types (CVE-2026-120142)\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 nested SET DATA TYPE during statistics import (CVE-2026-116329)\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: Persistent Denial of Service via arbitrary file append in sslkeylogfile parameter (CVE-2026-14661)\n  * postgresql: postgresql: Arbitrary code execution via aggregate optimization type confusion (CVE-2026-116331)\n  * postgresql: postgresql: Arbitrary SQL execution via improper constraint quoting in pg_dump (CVE-2026-116318)\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-02T11:30:04.048921510Z","published":"2026-11-30T00:00:00Z","related":["CVE-2026-116304","CVE-2026-116306","CVE-2026-116307","CVE-2026-116309","CVE-2026-116313","CVE-2026-116314","CVE-2026-116315","CVE-2026-116316","CVE-2026-116317","CVE-2026-116318","CVE-2026-116319","CVE-2026-116320","CVE-2026-116323","CVE-2026-116325","CVE-2026-116326","CVE-2026-116328","CVE-2026-116329","CVE-2026-116330","CVE-2026-116331","CVE-2026-116332","CVE-2026-116335","CVE-2026-116336","CVE-2026-120139","CVE-2026-120141","CVE-2026-120142","CVE-2026-120143","CVE-2026-120144","CVE-2026-120145","CVE-2026-120147","CVE-2026-120148","CVE-2026-120149","CVE-2026-120150","CVE-2026-120151","CVE-2026-120153","CVE-2026-14661","CVE-2026-18447","CVE-2026-6460","CVE-2026-6467"],"upstream":["CVE-2026-116304","CVE-2026-116306","CVE-2026-116307","CVE-2026-116309","CVE-2026-116313","CVE-2026-116314","CVE-2026-116315","CVE-2026-116316","CVE-2026-116317","CVE-2026-116318","CVE-2026-116319","CVE-2026-116320","CVE-2026-116323","CVE-2026-116325","CVE-2026-116326","CVE-2026-116328","CVE-2026-116329","CVE-2026-116330","CVE-2026-116331","CVE-2026-116332","CVE-2026-116335","CVE-2026-116336","CVE-2026-120139","CVE-2026-120141","CVE-2026-120142","CVE-2026-120143","CVE-2026-120144","CVE-2026-120145","CVE-2026-120147","CVE-2026-120148","CVE-2026-120149","CVE-2026-120150","CVE-2026-120151","CVE-2026-120153","CVE-2026-14661","CVE-2026-18447","CVE-2026-6460","CVE-2026-6467"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:104854"},{"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-116313"},{"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-116318"},{"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-116325"},{"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-116329"},{"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-120142"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120143"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-120144"},{"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-14661"},{"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/2572533"},{"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/2572541"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572542"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572543"},{"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/2572549"},{"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/2572554"},{"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/2572565"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572566"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2572567"},{"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/9/ALSA-2026-104854.html"}],"affected":[{"package":{"name":"pg_repack","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/pg_repack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-1.module_el9.8.0+234+5456f35d"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"pgaudit","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/pgaudit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.0-1.module_el9.8.0+234+5456f35d"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"pgvector","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/pgvector"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.7-1.module_el9.8.0+325+9e644128"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgis","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgis"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-4.module_el9.8.0+310+22372bcc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgis-client","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgis-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-4.module_el9.8.0+310+22372bcc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgis-docs","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgis-docs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-4.module_el9.8.0+310+22372bcc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgis-upgrade","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgis-upgrade"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-4.module_el9.8.0+310+22372bcc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgis-utils","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgis-utils"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-4.module_el9.8.0+310+22372bcc"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgres-decoderbufs","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgres-decoderbufs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1.Final.module_el9.8.0+234+5456f35d"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-contrib","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-contrib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-docs","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-docs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-plperl","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-plperl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-plpython3","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-plpython3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-pltcl","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-pltcl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-private-devel","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-private-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-private-libs","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-private-libs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-server","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-server-devel","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-server-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-static","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-static"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-test","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-test"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-test-rpm-macros","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-test-rpm-macros"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-upgrade","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-upgrade"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}},{"package":{"name":"postgresql-upgrade-devel","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-upgrade-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1.module_el9.9.0+378+2e492e60"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:104854.json"}}],"schema_version":"1.9.2"}