CLSA-2026-1794761367
Dashboard / Vulnerabilities / CLSA-2026-1794761367
CLSA-2026-1794761367
Summary: Fix of 27 CVEs
Details: * SECURITY UPDATE: fix type confusion in PL/Perl get_perl_array_ref() - debian/patches/CVE-2026-116309.patch: fix type confusion in PL/Perl get_perl_array_ref(), in src/pl/plperl/expected/plperl_array.out, src/pl/plperl/plperl.c and src/pl/plperl/sql/plperl_array.sql - CVE-2026-116309 * SECURITY UPDATE: harden PL/Perl against errors thrown from tied and overloaded values - debian/patches/CVE-2026-116326.patch: harden PL/Perl against errors thrown from tied and overloaded values, in contrib/hstore_plperl/expected/hstore_plperl.out, contrib/hstore_plperl/hstore_plperl.c, contrib/hstore_plperl/sql/hstore_plperl.sql, contrib/jsonb_plperl/expected/jsonb_plperl.out, contrib/jsonb_plperl/jsonb_plperl.c, contrib/jsonb_plperl/sql/jsonb_plperl.sql, src/backend/utils/error/elog.c, src/include/c.h, src/include/utils/elog.h, src/pl/plperl/GNUmakefile, src/pl/plperl/expected/plperl_tied.out, src/pl/plperl/expected/plperl_util.out, src/pl/plperl/plperl.c, src/pl/plperl/plperl.h, src/pl/plperl/sql/plperl_tied.sql and src/pl/plperl/sql/plperl_util.sql - CVE-2026-116326 * SECURITY UPDATE: hold a reference on a Perl array or hash while PL/Perl scans it - debian/patches/CVE-2026-116320.patch: hold a reference on a Perl array or hash while PL/Perl scans it, in contrib/hstore_plperl/hstore_plperl.c, contrib/jsonb_plperl/jsonb_plperl.c and src/pl/plperl/plperl.c - CVE-2026-116320 * SECURITY UPDATE: don't save and re-use the temp context in PL/Perl return_next() - debian/patches/CVE-2026-116319.patch: don't save and re-use the temp context in PL/Perl return_next(), in src/pl/plperl/expected/plperl_tied.out, src/pl/plperl/plperl.c and src/pl/plperl/sql/plperl_tied.sql - CVE-2026-116319 * SECURITY UPDATE: refuse to free a PL/Perl prepared query that is being executed - debian/patches/CVE-2026-116307.patch: refuse to free a PL/Perl prepared query that is being executed, in src/pl/plperl/expected/plperl.out, src/pl/plperl/plperl.c and src/pl/plperl/sql/plperl.sql - CVE-2026-116307 * SECURITY UPDATE: fix possible use-after-free in find_or_make_matching_shared_tupledesc() - debian/patches/CVE-2026-116304.patch: fix possible use-after-free in find_or_make_matching_shared_tupledesc(), in src/backend/utils/cache/typcache.c - CVE-2026-116304 * SECURITY UPDATE: handle composite type changes in ExecEvalFieldStoreDeForm() - debian/patches/CVE-2026-116306.patch: handle composite type changes in ExecEvalFieldStoreDeForm(), in src/backend/executor/execExpr.c, src/backend/executor/execExprInterp.c, src/include/executor/execExpr.h, src/test/regress/expected/rowtypes.out and src/test/regress/sql/rowtypes.sql - CVE-2026-116306 * SECURITY UPDATE: fix out-of-bounds accesses and path traversal in pg_restore - debian/patches/CVE-2026-116314.patch: fix out-of-bounds accesses and path traversal in pg_restore, in src/bin/pg_dump/compress_io.c, src/bin/pg_dump/pg_backup_archiver.c, src/bin/pg_dump/pg_backup_directory.c and src/bin/pg_dump/pg_backup_tar.c - CVE-2026-116314 * SECURITY UPDATE: fix potential buffer overrun in tsvector_delete() - debian/patches/CVE-2026-116315.patch: fix potential buffer overrun in tsvector_delete(), in src/backend/utils/adt/tsvector_op.c - CVE-2026-116315 * SECURITY UPDATE: fix potential buffer overrun in ts_rank_cd() - debian/patches/CVE-2026-116317.patch: fix potential buffer overrun in ts_rank_cd(), in src/backend/utils/adt/tsrank.c and src/include/tsearch/ts_type.h - CVE-2026-116317 * SECURITY UPDATE: avoid use-after-free hazards in re-entrant use of PL/Tcl - debian/patches/CVE-2026-116323.patch: avoid use-after-free hazards in re-entrant use of PL/Tcl, in src/pl/tcl/pltcl.c - CVE-2026-116323 * SECURITY UPDATE: make \restrict keys protective in pg_dump --format=tar restore.sql - debian/patches/CVE-2026-116330.patch: make \restrict keys protective in pg_dump --format=tar restore.sql, in doc/src/sgml/ref/pg_dump.sgml, src/bin/pg_dump/Makefile, src/bin/pg_dump/pg_dump.c and src/bin/pg_dump/t/011_restore.pl - CVE-2026-116330 * SECURITY UPDATE: don't use MinMaxAggPath if aggregate's input and output types don't match - debian/patches/CVE-2026-116331.patch: don't use MinMaxAggPath if aggregate's input and output types don't match, in src/backend/optimizer/plan/planagg.c - CVE-2026-116331 * SECURITY UPDATE: fix use-after-free issues due to drop of portals being set up - debian/patches/CVE-2026-116332.patch: fix use-after-free issues due to drop of portals being set up, in src/backend/utils/mmgr/portalmem.c, src/test/regress/expected/portals_inflight.out, src/test/regress/parallel_schedule and src/test/regress/sql/portals_inflight.sql - CVE-2026-116332 * SECURITY UPDATE: check that commutator/negator operators return the same data type - debian/patches/CVE-2026-116335.patch: check that commutator/negator operators return the same data type, in src/backend/catalog/pg_operator.c, src/backend/commands/operatorcmds.c, src/include/catalog/pg_operator.h, src/test/regress/expected/create_operator.out and src/test/regress/sql/create_operator.sql - CVE-2026-116335 * SECURITY UPDATE: fix type confusion with materialized set-returning functions - debian/patches/CVE-2026-120141.patch: fix type confusion with materialized set-returning functions, in src/backend/executor/execSRF.c, src/test/regress/expected/json.out and src/test/regress/sql/json.sql - CVE-2026-120141 * SECURITY UPDATE: close portals at end of trigger functions with transition tables - debian/patches/CVE-2026-120143.patch: close portals at end of trigger functions with transition tables, in doc/src/sgml/spi.sgml, src/backend/executor/spi.c, src/backend/utils/mmgr/portalmem.c and src/include/utils/portal.h - CVE-2026-120143 * SECURITY UPDATE: refuse to use a dblink connection that a dblink call is already using - debian/patches/CVE-2026-120147.patch: refuse to use a dblink connection that a dblink call is already using, in contrib/dblink/dblink.c, contrib/dblink/expected/dblink.out and contrib/dblink/sql/dblink.sql - CVE-2026-120147 * SECURITY UPDATE: avoid using a dangling pointer in expanded-record domain checks - debian/patches/CVE-2026-120150.patch: avoid using a dangling pointer in expanded-record domain checks, in src/backend/utils/adt/expandedrecord.c - CVE-2026-120150 * SECURITY UPDATE: recheck PL/pgSQL record field's type after casting value - debian/patches/CVE-2026-120151.patch: recheck PL/pgSQL record field's type after casting value, in src/pl/plpgsql/src/pl_exec.c - CVE-2026-120151 * SECURITY UPDATE: reject more unsafe names in extension script substitutions - debian/patches/CVE-2026-120153.patch: reject more unsafe names in extension script substitutions, in src/backend/commands/extension.c, src/test/modules/test_extensions/expected/test_extensions.out and src/test/modules/test_extensions/sql/test_extensions.sql - CVE-2026-120153 * SECURITY UPDATE: reject pseudo-type output parameters in SQL functions - debian/patches/CVE-2026-18447.patch: reject pseudo-type output parameters in SQL functions, in src/backend/catalog/pg_proc.c - CVE-2026-18447 * SECURITY UPDATE: prevent creating types in pg_temp from restricted code - debian/patches/CVE-2026-116316.patch: prevent creating types in pg_temp from restricted code, in src/backend/commands/typecmds.c, src/test/regress/expected/privileges.out and src/test/regress/sql/privileges.sql - CVE-2026-116316 * SECURITY UPDATE: fix crash in REINDEX CONCURRENTLY due to DDL run in index functions - debian/patches/CVE-2026-116336.patch: fix crash in REINDEX CONCURRENTLY due to DDL run in index functions, in src/backend/commands/indexcmds.c - CVE-2026-116336 * SECURITY UPDATE: protect against miscalculation of tuple sizes via int32 overflow - debian/patches/CVE-2026-120139.patch: protect against miscalculation of tuple sizes via int32 overflow, in src/backend/access/common/heaptuple.c, src/backend/access/heap/tuptoaster.c, src/backend/executor/execTuples.c, src/backend/utils/adt/array_userfuncs.c, src/include/access/htup_details.h, src/include/access/tupmacs.h and src/include/c.h - CVE-2026-120139 * SECURITY UPDATE: reject system catalogs as logical replication targets - debian/patches/CVE-2026-120145.patch: reject system catalogs as logical replication targets, in src/backend/commands/subscriptioncmds.c, src/backend/executor/execReplication.c, src/backend/replication/logical/relation.c and src/include/executor/executor.h - CVE-2026-120145 * SECURITY UPDATE: check type dependencies before ALTERing a column or row type - debian/patches/CVE-2026-6460.patch: check type dependencies before ALTERing a column or row type, in src/backend/catalog/dependency.c, src/backend/catalog/heap.c, src/backend/catalog/pg_proc.c, src/backend/commands/tablecmds.c, src/backend/utils/adt/expandedrecord.c, src/include/catalog/dependency.h, src/include/utils/expandedrecord.h, src/pl/plpgsql/src/pl_exec.c, src/test/regress/expected/alter_table.out, src/test/regress/expected/generated.out, src/test/regress/sql/alter_table.sql and src/test/regress/sql/generated.sql - CVE-2026-6460
References: https://errata.tuxcare.com/els_os/ubuntu20.04els/CLSA-2026-1794761367.html, https://nvd.nist.gov/vuln/detail/CVE-2026-116304, https://nvd.nist.gov/vuln/detail/CVE-2026-116306, https://nvd.nist.gov/vuln/detail/CVE-2026-116307, https://nvd.nist.gov/vuln/detail/CVE-2026-116309, https://nvd.nist.gov/vuln/detail/CVE-2026-116314, https://nvd.nist.gov/vuln/detail/CVE-2026-116315, https://nvd.nist.gov/vuln/detail/CVE-2026-116316, https://nvd.nist.gov/vuln/detail/CVE-2026-116317, https://nvd.nist.gov/vuln/detail/CVE-2026-116319, https://nvd.nist.gov/vuln/detail/CVE-2026-116320, https://nvd.nist.gov/vuln/detail/CVE-2026-116323, https://nvd.nist.gov/vuln/detail/CVE-2026-116326, https://nvd.nist.gov/vuln/detail/CVE-2026-116330, https://nvd.nist.gov/vuln/detail/CVE-2026-116331, https://nvd.nist.gov/vuln/detail/CVE-2026-116332, https://nvd.nist.gov/vuln/detail/CVE-2026-116335, https://nvd.nist.gov/vuln/detail/CVE-2026-116336, https://nvd.nist.gov/vuln/detail/CVE-2026-120139, https://nvd.nist.gov/vuln/detail/CVE-2026-120141, https://nvd.nist.gov/vuln/detail/CVE-2026-120143, https://nvd.nist.gov/vuln/detail/CVE-2026-120145, https://nvd.nist.gov/vuln/detail/CVE-2026-120147, https://nvd.nist.gov/vuln/detail/CVE-2026-120150, https://nvd.nist.gov/vuln/detail/CVE-2026-120151, https://nvd.nist.gov/vuln/detail/CVE-2026-120153, https://nvd.nist.gov/vuln/detail/CVE-2026-18447, https://nvd.nist.gov/vuln/detail/CVE-2026-6460
Affected packages
Package
Name: libecpg-compat3
Purl: pkg:deb/tuxcare/libecpg-compat3?distro=ubuntu-20.04
Affected ranges
Type: ECOSYSTEM
Events:
