[CLSA-2026:1794778913] Fix of 27 CVEs
Type:
security
Severity:
Important
Release date:
2026-11-15 21:42:19 UTC
Description:
* SECURITY UPDATE: guard against unexpected dimensions of oidvector/int2vector - debian/patches/CVE-2026-2003.patch: guard against unexpected dimensions of oidvector/int2vector - CVE-2026-2003 * SECURITY UPDATE: fix out-of-bounds reads in ascii() for invalid multibyte characters - debian/patches/CVE-2026-18024.patch: fix out-of-bounds reads in ascii() for invalid multibyte characters - CVE-2026-18024 * SECURITY UPDATE: fix pg_trgm picksplit out-of-bounds read with all-true datums - debian/patches/CVE-2026-14678.patch: fix pg_trgm picksplit out-of-bounds read with all-true datums - CVE-2026-14678 * SECURITY UPDATE: make libpq bail out on errors during SSL/GSS negotiation - debian/patches/CVE-2024-10977.patch: make libpq bail out on errors during SSL/GSS negotiation - CVE-2024-10977 * SECURITY UPDATE: prevent reading past the end of an allocation with GB18030 - debian/patches/CVE-2025-4207.patch: prevent reading past the end of an allocation with GB18030 - CVE-2025-4207 * SECURITY UPDATE: mark plans that inline set-returning functions over RLS-protected tables as role-dependent (prerequisite of CVE-2024-10976) - debian/patches/CVE-2023-2455.patch: mark plans that inline set-returning functions over RLS-protected tables as role-dependent - CVE-2023-2455 * SECURITY UPDATE: ensure cached plans are correctly marked as dependent on role - debian/patches/CVE-2024-10976.patch: ensure cached plans are correctly marked as dependent on role - CVE-2024-10976 * SECURITY UPDATE: fix improper interactions between session_authorization and role - debian/patches/CVE-2024-10978.patch: fix improper interactions between session_authorization and role - CVE-2024-10978 * SECURITY UPDATE: invalidate the plan cache after role changes - debian/patches/CVE-2026-14666.patch: invalidate the plan cache after role changes - CVE-2026-14666 * SECURITY UPDATE: type confusion in PL/Perl get_perl_array_ref() A trusted PL/Perl function could return a reference blessed into PostgreSQL::InServer::ARRAY that does not point at a hash, or a hash lacking the "array" key; the server then read memory out of the wrong object type or dereferenced a NULL pointer. The referent type and the looked-up key are now checked before the object is used. - debian/patches/CVE-2026-116309.patch: require the referent of a PostgreSQL::InServer::ARRAY object to be a hash and check the "array" lookup result for NULL in src/pl/plperl/plperl.c (upstream c032c0fbdc0, e520ad34b482). - CVE-2026-116309 * SECURITY UPDATE: use-after-free in PL/Perl while scanning Perl arrays/hashes PL/Perl and the hstore_plperl transform walked Perl arrays and hashes without holding their own reference, so code run while converting an element (tied-variable methods, re-entrant PL/Perl) could free the container mid-scan. A reference is now held for the duration of the scan. - debian/patches/CVE-2026-116320.patch: hold a mortal reference on the array/hash being scanned in src/pl/plperl/plperl.c and contrib/hstore_plperl/hstore_plperl.c (upstream bd76c497e962). - CVE-2026-116320 * SECURITY UPDATE: use-after-free in PL/Perl return_next() on re-entry PL/Perl's return_next() built each result row in a temporary memory context that was shared across calls and reset at the end of every call. A re-entrant return_next() (e.g. from a tied variable's FETCH method run while converting a row value) reset that context and freed data the outer call was still using. Each call now creates and deletes its own context. - debian/patches/CVE-2026-116319.patch: use a per-call temporary memory context in plperl_return_next_internal() in src/pl/plperl/plperl.c (upstream 556614e0428a). - CVE-2026-116319 * SECURITY UPDATE: use-after-free in PL/Perl spi_freeplan() spi_freeplan() freed a prepared query's plan and the memory context holding its argument input functions without checking whether the query was still running. A nested PL/Perl call made while spi_exec_prepared() or spi_query_prepared() was executing the query could free it, leaving the outer execution using freed memory. Executions in progress are now counted per query and spi_freeplan() refuses to free a query in use. - debian/patches/CVE-2026-116307.patch: add a use_count to plperl_query_desc, pin the query in plperl_spi_exec_prepared() and plperl_spi_query_prepared(), and make plperl_spi_freeplan() croak while it is in use, in src/pl/plperl/plperl.c (upstream c148f9509ed5). - CVE-2026-116307 * SECURITY UPDATE: PL/Perl error-stack desynchronisation via tied objects Errors thrown by Perl code run from tied or overloaded values outside call_sv() could longjmp through stale PostgreSQL error frames, leading to crashes or memory corruption. PL/Perl now keeps Perl's and PostgreSQL's jmp_buf stacks in sync, runs get magic on tied values, safely tests ERRSV, and traps errors in encode_typed_literal(). Also makes Perl array traversal bounded and NULL-safe, which the fix relies on. - debian/patches/CVE-2026-116326.patch: add PG_PERL_TRY/CATCH/END_TRY and HaveCompleteError(), restructure the PL/Perl call handlers, materialize tied SVs, harden error reporting, bound tied-array loops (upstream ede3188e118, ec24237a40c, 68abacacac0, 8ab0f897d41, a389439963d, 209e8c88dce). - CVE-2026-116326 * SECURITY UPDATE: pg_restore out-of-bounds access and path traversal A crafted archive could make pg_restore read and write out of bounds (unchecked dependency IDs, malformed DROP statements, a tar member placed before toc.dat, negative tar member lengths, overflowing dump-ID array sizes) or read files outside a directory-format archive. - debian/patches/CVE-2026-116314.patch: validate dependency IDs, DROP statement prefixes, tar member order and length, dump-ID array sizes, and reject directory-archive file names with separators or that are not regular files (upstream 179c2c37). - CVE-2026-116314 * SECURITY UPDATE: heap buffer overflow in ts_delete(). ts_delete() sized its result as the size of the input tsvector, assuming the output can never be larger. A tsvector whose lexeme data is stored in a different order (as binary input can produce) may need extra alignment padding, so the result could be written past the end of the allocated buffer. - debian/patches/CVE-2026-116315.patch: allocate one extra pad byte per output lexeme and reject results over the tsvector size limit in src/backend/utils/adt/tsvector_op.c (upstream d681b9f6a53b). - CVE-2026-116315 * SECURITY UPDATE: types created in pg_temp from security-restricted code Code running inside a security-restricted operation (e.g. an index expression or materialized view query run during REFRESH, ANALYZE or VACUUM) could create a domain, enum or range type in the calling session's temporary schema, shadowing an unqualified type name later used by the caller and allowing SQL execution with its privileges. - debian/patches/CVE-2026-116316.patch: refuse to create domain, enum and range types in a temporary schema within a security-restricted operation in src/backend/commands/typecmds.c (upstream 44ebef3b5dd). - CVE-2026-116316 * SECURITY UPDATE: SQL function output parameter of type "any" bypasses row type checks fmgr_sql_validator() rejected pseudo-type input parameters but not output parameters, so an SQL function could declare an OUT/TABLE column of type "any" and return rows of an unrelated row type, which were then read with a mismatched tuple descriptor (server memory disclosure, possible code execution). - debian/patches/CVE-2026-18447.patch: apply the pseudo-type check in fmgr_sql_validator() to parameters of every mode, still allowing polymorphic types and record/record[] output columns (upstream ded6c00d3e26). - CVE-2026-18447 * SECURITY UPDATE: type confusion via ALTER of a row type used in stored expressions ALTER TABLE/TYPE ... ALTER COLUMN/ATTRIBUTE TYPE (and table rewrites) only rejected the change when another table column stored the row type; Consts of the row type kept in views/rules, column, function and domain DEFAULTs, CHECK constraints, index expressions/predicates (and partition keys, 10 only) were left in the old layout and later deformed with the new one. This is a declared partial fix (DDL-side hardening only, no datum versioning). - debian/patches/CVE-2026-6460.patch: forbid altering a row type by default when other objects depend on it, check function/domain DEFAULTs, CHECK constraints, index expressions and foreign tables, scan pg_index for missing dependencies, record result-type dependencies, and fix the related locking races (upstream 6be4e665dff, 9d0efd64bff, f5782736cd2 and others). - CVE-2026-6460 * SECURITY UPDATE: heap buffer overrun in ts_rank_cd() get_docrep() assumed a group of equal (position, lexeme) entries can never hold more query items than the query has operands. A tsvector carrying duplicate positions breaks that assumption and makes the join loop write past the end of the palloc'd items[] array. - debian/patches/CVE-2026-116317.patch: drop surplus items instead of overrunning items[] in get_docrep(), and document in ts_type.h that positions must be nonzero, sorted and unique (upstream 530a034aa2). - CVE-2026-116317 * SECURITY UPDATE: use-after-free in PL/Tcl on re-entrant interpreter use PL/Tcl passed strings owned by the Tcl interpreter to SQL datatype input functions. An input function that re-entered the same interpreter (for example a PL/Tcl function in a domain CHECK constraint) could free or overwrite those strings while they were still in use. - debian/patches/CVE-2026-116323.patch: copy Tcl-owned strings with a new utf_u2e_copy() helper before calling any input function, in the function result, error and SPI_execute_plan argument paths (and, where present, return_next and composite result paths) (upstream b2b0f9507ab4). - CVE-2026-116323 * SECURITY UPDATE: pg_dump --format=tar restore.sql not protected by \restrict The restore.sql script embedded in pg_dump tar archives was written with no psql \restrict key, so psql meta-commands injected by a malicious source server could run when the script was replayed with psql. pg_dump now generates a restrict key for tar format too. - debian/patches/CVE-2026-116330.patch: generate the \restrict key for --format=tar as well as plain and allow --restrict-key with tar (upstream 9d2cda9f). - CVE-2026-116330 * SECURITY UPDATE: type confusion via MIN/MAX optimization of aggregates An aggregate defined with a SORTOP whose result type differs from its input type could be turned by the planner into an index-scan subquery, yielding a value of the wrong type and leading to crashes or memory disclosure. Any role allowed to create aggregates could exploit this. - debian/patches/CVE-2026-116331.patch: ignore the sort operator in fetch_agg_sort_op() unless the aggregate takes exactly one argument of its result type, in src/backend/optimizer/plan/planagg.c (upstream 0eba2949). - CVE-2026-116331 * SECURITY UPDATE: use-after-free when a portal is closed while being set up User-defined code that runs while a portal is still being created (for example a function evaluated during planning of a PL/pgSQL OPEN or an extended-protocol Bind) could CLOSE that portal or run CLOSE ALL, freeing it while its creator kept using it, leading to memory corruption. - debian/patches/CVE-2026-116332.patch: refuse to drop portals that are still being set up, skip them in CLOSE ALL, and mark them failed on (sub)transaction abort so cleanup can drop them (upstream 69b973c656b). - CVE-2026-116332 * SECURITY UPDATE: type confusion via operator commutator/negator links CREATE OPERATOR did not check that a commutator or negator returns the same data type as the operator, and filling in a shell operator could drop or overwrite its existing links, so the planner could swap in an operator with a different result type, allowing code execution. - debian/patches/CVE-2026-116335.patch: check result types and keep reciprocal links in src/backend/catalog/pg_operator.c, require the same role to fill in a shell operator, reject self-negators (upstream 7282f7dfe14). - CVE-2026-116335 * SECURITY UPDATE: integer overflow in tuple size computation heap_compute_data_size() summed attribute sizes without overflow checks and the TOAST code stored the result in 32-bit variables, so a very wide row could wrap the computed length and lead to a heap buffer overflow with attacker-controlled contents. - debian/patches/CVE-2026-120139.patch: use overflow-checked additions in heap_compute_data_size() and reject tuples beyond the 1 GB palloc limit, let the toaster loops use the uncapped variant, widen the offset in nocachegetattr(), and add pg_add_size_overflow() and friends to common/int.h (upstream 9fe1c78135f4, 37842f3dc6). - CVE-2026-120139 * SECURITY UPDATE: use-after-free in dblink on nested disconnect While dblink converted rows of a remote result, a column type's input function (e.g. a domain CHECK constraint) could run user SQL that re-entered dblink and closed or replaced the connection still being read, so the outer call then used a freed PGconn. A connection is now marked as in use while its result is materialized, and every other dblink call on that connection is refused until it is done. - debian/patches/CVE-2026-120147.patch: track an in-use flag on dblink connections and reject disconnect, connect-replace, open, close, fetch, exec, get_result and the other dblink calls on a connection that is materializing a result, in contrib/dblink/dblink.c (upstream 887f6fee58f). - CVE-2026-120147 * SECURITY UPDATE: SQL injection via extension script @extschema@ substitution Schema names substituted for @extschema@ into extension scripts were only checked for quote, backslash and dollar characters, so a name containing a newline, carriage return, comment delimiter or a substitution token could still inject SQL when a superuser created or updated a non-relocatable extension in that schema. Reject those too. - debian/patches/CVE-2026-120153.patch: add check_substitution_name() and use it for the @extschema@ substitution in src/backend/commands/extension.c (upstream f233bee1ed). - CVE-2026-120153
Updated packages:
  • libecpg-compat3-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:77cf6577c609ef6ed50b6200d42c3f12ad593a08
  • libecpg-dev-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:c06efab55819783d1f6b816e0ab28ff12622dc66
  • libecpg6-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:4b1dda63eb30816ceec119eb63c20513be6a2c37
  • libpgtypes3-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:4e84aa3731a0dbcf8fb27e02fe868487c9c9a2b2
  • libpq-dev-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:959ff600437c39020e26dd6987f6c2bb9821173f
  • libpq5-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:6b0bcc79919ad3e47a323192746bacf38967671c
  • postgresql-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:cea83bb515d1c5e8c4f519aabccaf35db6f05907
  • postgresql-client-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:b8f68cb31bbfdba867407df26bfb7be42de88103
  • postgresql-contrib-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:3f2bf1a56c905dd7b27503007aaaed134ce67341
  • postgresql-doc-9.6_9.6.24-0+deb10u1+tuxcare.els11_all.deb
    sha:20eaab39c9975ae7f7c3caf0092c968dcd1bb01d
  • postgresql-plperl-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:ae1c7258946ad01d49b87e74c1bbeb57038a8035
  • postgresql-plpython-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:582b4b65e3aa9386c0fed57602ce221dcedffbdd
  • postgresql-plpython3-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:ae1e70388fb5e9bfa40fa60145918210bb993c36
  • postgresql-pltcl-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:01f55d677391c1a82a58353c056f95c3de6b2066
  • postgresql-server-dev-9.6_9.6.24-0+deb10u1+tuxcare.els11_amd64.deb
    sha:077ca8d4a243142c067b468eb6c2dce00216bb34
  • libecpg-compat3-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:fcee35439808baa222b19cc8398dbe7e2719d7ee
  • libecpg-dev-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:70fca87c18ad74341e722669eea86050833733ed
  • libecpg6-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:94fa5c0cd00f0e9e89b78effe63c83430c004f30
  • libpgtypes3-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:4a60b7f69132ab008b1d2c600001a529fa806ce5
  • libpq-dev-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:78e2927a2397d05babd43cbf0474fce37e848730
  • libpq5-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:6d9237e8fedcb621d8e90a3f97d73acd038299cb
  • postgresql-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:a51b7c8049115d4719715546c843a1ba3fdb685c
  • postgresql-client-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:6bdac66fbddd8a5a79b5c50fb073cd2ea0433283
  • postgresql-contrib-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:29c53e3ec8385dd780a10b2778f096e918d79090
  • postgresql-plperl-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:1a1c5eaf085f427ebcf4bc9f725f3385d62c4688
  • postgresql-plpython-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:ab2b656116c9355b68e5d17a0651a1af3ae8c770
  • postgresql-plpython3-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:5caf41c9e46b374522112ab97f268a9033f2dde1
  • postgresql-pltcl-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:e71e8dec85d50395a1ec464747ae1d6aa04d960c
  • postgresql-server-dev-9.6_9.6.24-0+deb10u1+tuxcare.els11_arm64.deb
    sha:d52e014df951b5beb707a6800ddc2b8ca3619f44
  • libecpg-compat3-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:4efc2ea958d1202ee616a44918e4b42778b34be5
  • libecpg-dev-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:3dd77b05d981e2e9527798019344d9cedd6cc661
  • libecpg6-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:cdc896c00c2cbd05ce156c7023d20a1ddbdb5281
  • libpgtypes3-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:b36335a4c8d8474e6fcd323c27f145d88644c7ce
  • libpq-dev-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:79e902abd286a7619843cc60d964e4bfab0a31d3
  • libpq5-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:035e5fc42a515ba31fb33edf70a6bec53049b85a
  • postgresql-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:fb04fad756de30625fcd9d56eff248c1283cd2b6
  • postgresql-client-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:69bb6e86569c8a9e10a9647676138b9c9791727b
  • postgresql-contrib-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:8ef2e121b33dc6f28df930b0c99d1b02d8e778b0
  • postgresql-plperl-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:5ac4bd0c478f2488b7d0d206c59070d5a85d0f7b
  • postgresql-plpython-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:0eb7df8b8e408e22aa2fc5803862cdaa99cc6392
  • postgresql-plpython3-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:8c9aec1202a890589b809fb13a01e7b1c68cd173
  • postgresql-pltcl-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:5adde4c3f309ceeab6826830be008ac1f67757e6
  • postgresql-server-dev-9.6_9.6.24-0+deb10u1+tuxcare.els11_armel.deb
    sha:988adc7b9cda9cb5c602ac6d9f28da9c89386ab9
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.