{"id":"CLSA-2026-1779493861","summary":"postgresql: Fix of 6 CVEs","details":"- CVE-2026-6473: use palloc_array() in hstore_plperl/hstore_plpython to avoid\n  integer overflow on 32-bit systems\n- CVE-2026-6474: guard pg_strftime() callers against unsafe conditions and\n  ensure null-terminated output to prevent format-string leak via crafted\n  timezone names\n- CVE-2026-6475: prevent path traversal in pg_rewind file operations by\n  validating paths received from a rogue server endpoint\n- CVE-2026-6477: add buf_size bounds-checking to pqFunctionCall3() and gate\n  PQfn() via a new PQnfn() helper to prevent client-side buffer overrun in\n  the large object interface (lo_export/lo_read/lo_lseek64/lo_tell64)\n- CVE-2026-6479: track processed SSL/GSS negotiation attempts in\n  ProcessStartupPacket() to prevent unbounded recursion causing backend\n  stack overflow\n- CVE-2026-6637: switch refint check_foreign_key() to StringInfo and quote\n  key values to prevent SQL injection and stack buffer overruns","modified":"2026-06-01T00:32:54.706152344Z","published":"2026-05-22T23:51:06Z","upstream":["CVE-2026-6473","CVE-2026-6474","CVE-2026-6475","CVE-2026-6477","CVE-2026-6479","CVE-2026-6637"],"references":[{"type":"ADVISORY","url":"https://errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1779493861.html"}],"affected":[{"package":{"name":"postgresql","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-contrib","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-contrib?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-docs","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-docs?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-plperl","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-plperl?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-plpython3","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-plpython3?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-pltcl","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-pltcl?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-private-devel","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-private-devel?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-private-libs","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-private-libs?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-server","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-server?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-server-devel","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-server-devel?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-static","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-static?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-test","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-test?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-test-rpm-macros","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-test-rpm-macros?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-upgrade","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-upgrade?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}},{"package":{"name":"postgresql-upgrade-devel","ecosystem":"TuxCare:AlmaLinux:9.6","purl":"pkg:rpm/tuxcare/postgresql-upgrade-devel?distro=almalinux-9.6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.23-1.el9_6.tuxcare.els6"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1779493861.json"}}],"schema_version":"1.7.5"}