{"id":"ALSA-2026:19009","summary":"Important: postgresql18 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 pg_trgm heap buffer overflow writes pattern onto server memory (CVE-2026-2007)\n  * postgresql: PostgreSQL oidvector discloses a few bytes of memory (CVE-2026-2003)\n  * postgresql: PostgreSQL missing validation of multibyte character length executes arbitrary code (CVE-2026-2006)\n  * postgresql: PostgreSQL intarray missing validation of type of input to selectivity estimator executes arbitrary code (CVE-2026-2004)\n  * postgresql: PostgreSQL pgcrypto heap buffer overflow executes arbitrary code (CVE-2026-2005)\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-05-26T16:59:21.440367989Z","published":"2026-05-19T00:00:00Z","related":["CVE-2026-2003","CVE-2026-2004","CVE-2026-2005","CVE-2026-2006","CVE-2026-2007"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19009"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-2003"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-2004"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-2005"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-2006"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-2007"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2439320"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2439322"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2439324"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2439325"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2439326"},{"type":"ADVISORY","url":"https://errata.almalinux.org/10/ALSA-2026-19009.html"}],"affected":[{"package":{"name":"postgresql18","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-contrib","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-contrib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-docs","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-docs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-plperl","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-plperl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-plpython3","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-plpython3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-private-devel","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-private-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-private-libs","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-private-libs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-server","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-server-devel","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-server-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-static","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-static"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-test","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-test"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-test-rpm-macros","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-test-rpm-macros"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-upgrade","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-upgrade"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}},{"package":{"name":"postgresql18-upgrade-devel","ecosystem":"AlmaLinux:10","purl":"pkg:rpm/almalinux/postgresql18-upgrade-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.3-1.el10_2"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux10/ALSA-2026:19009.json"}}],"schema_version":"1.7.5"}