{"id":"ALSA-2026:0491","summary":"Moderate: postgresql security update","details":"PostgreSQL is an advanced object-relational database management system (DBMS).  \n\nSecurity Fix(es):  \n\n  * postgresql: CREATE STATISTICS does not check for schema CREATE privilege (CVE-2025-12817)\n  * postgresql: libpq undersizes allocations, via integer wraparound (CVE-2025-12818)\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-02-04T03:10:48.437636Z","published":"2026-01-13T00:00:00Z","related":["CVE-2025-12817","CVE-2025-12818"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:0491"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2025-12817"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2025-12818"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2414825"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2414826"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-0491.html"}],"affected":[{"package":{"name":"postgresql","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-contrib","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-contrib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-docs","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-docs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-plperl","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-plperl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-plpython3","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-plpython3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-pltcl","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-pltcl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-private-devel","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-private-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-private-libs","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-private-libs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-server","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-server-devel","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-server-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-static","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-static"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-test","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-test"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.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":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-upgrade","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-upgrade"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}},{"package":{"name":"postgresql-upgrade-devel","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/postgresql-upgrade-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_7"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2026:0491.json"}}],"schema_version":"1.7.3"}