CLSA-2026-1794778913

See a problem?
Import Source
https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json
JSON Data
https://api.osv.dev/v1/vulns/CLSA-2026-1794778913
Upstream
CVE (28)
  • CVE-2023-2455
  • CVE-2024-10976
  • CVE-2024-10977
  • CVE-2024-10978
  • CVE-2025-4207
  • CVE-2026-116307
  • CVE-2026-116309
  • CVE-2026-116314
  • CVE-2026-116315
  • CVE-2026-116316
  • CVE-2026-116317
  • CVE-2026-116319
  • CVE-2026-116320
  • CVE-2026-116323
  • CVE-2026-116326
  • CVE-2026-116330
  • CVE-2026-116331
  • CVE-2026-116332
  • CVE-2026-116335
  • CVE-2026-120139
  • CVE-2026-120147
  • CVE-2026-120153
  • CVE-2026-14666
  • CVE-2026-14678
  • CVE-2026-18024
  • CVE-2026-18447
  • CVE-2026-2003
  • CVE-2026-6460
Published
2026-11-15T21:42:19Z
Modified
2026-11-20T10:28:41Z
Summary
Fix of 27 CVEs
Details
  • 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
References

Affected packages

TuxCare:Debian:10
libecpg-compat3-9.6

Package

Name
libecpg-compat3-9.6
Purl
pkg:deb/tuxcare/libecpg-compat3-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
libecpg-dev-9.6

Package

Name
libecpg-dev-9.6
Purl
pkg:deb/tuxcare/libecpg-dev-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
libecpg6-9.6

Package

Name
libecpg6-9.6
Purl
pkg:deb/tuxcare/libecpg6-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
libpgtypes3-9.6

Package

Name
libpgtypes3-9.6
Purl
pkg:deb/tuxcare/libpgtypes3-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
libpq-dev-9.6

Package

Name
libpq-dev-9.6
Purl
pkg:deb/tuxcare/libpq-dev-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
libpq5-9.6

Package

Name
libpq5-9.6
Purl
pkg:deb/tuxcare/libpq5-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
postgresql-9.6

Package

Name
postgresql-9.6
Purl
pkg:deb/tuxcare/postgresql-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
postgresql-client-9.6

Package

Name
postgresql-client-9.6
Purl
pkg:deb/tuxcare/postgresql-client-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
postgresql-contrib-9.6

Package

Name
postgresql-contrib-9.6
Purl
pkg:deb/tuxcare/postgresql-contrib-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
postgresql-doc-9.6

Package

Name
postgresql-doc-9.6
Purl
pkg:deb/tuxcare/postgresql-doc-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
postgresql-plperl-9.6

Package

Name
postgresql-plperl-9.6
Purl
pkg:deb/tuxcare/postgresql-plperl-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
postgresql-plpython-9.6

Package

Name
postgresql-plpython-9.6
Purl
pkg:deb/tuxcare/postgresql-plpython-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
postgresql-plpython3-9.6

Package

Name
postgresql-plpython3-9.6
Purl
pkg:deb/tuxcare/postgresql-plpython3-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
postgresql-pltcl-9.6

Package

Name
postgresql-pltcl-9.6
Purl
pkg:deb/tuxcare/postgresql-pltcl-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"
postgresql-server-dev-9.6

Package

Name
postgresql-server-dev-9.6
Purl
pkg:deb/tuxcare/postgresql-server-dev-9.6?distro=debian-10

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.6.24-0+deb10u1+tuxcare.els11

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1794778913.json"