RHEL 10 : postgresql18 (RHSA-2026:104831)

high Nessus Plugin ID 388829

Synopsis

The remote Red Hat host is missing one or more security updates for postgresql18.

Description

The remote Redhat Enterprise Linux 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2026:104831 advisory.

PostgreSQL is an advanced Object-Relational database management system (DBMS). The base postgresql package contains the client programs that you'll need to access a PostgreSQL DBMS server, as well as HTML documentation for the whole system. These client programs can be located on the same machine as the PostgreSQL server, or on a remote machine that accesses a PostgreSQL server over a network connection.
The PostgreSQL server can be found in the postgresql-server sub-package.

Security Fix(es):

* postgresql: postgresql: Arbitrary code execution via composite-value field assignment type confusion (CVE-2026-116306)

* postgresql: postgresql: Arbitrary code execution via use-after-free in PL/Tcl (CVE-2026-116323)

* postgresql: postgresql: Arbitrary code execution via use-after-free during portal setup (CVE-2026-116332)

* postgresql: postgresql: Arbitrary code execution via type confusion in materialized set-returning functions (CVE-2026-120141)

* postgresql: postgresql: Arbitrary code execution via type confusion in SQL-language functions (CVE-2026-18447)

* postgresql: PostgreSQL: Arbitrary code execution via incomplete type-cache invalidation (CVE-2026-120144)

* postgresql: postgresql: Arbitrary code execution via heap-based buffer overflow in tsvector_delete() (CVE-2026-116315)

* postgresql: postgresql: Privilege escalation via uncontrolled search path in extension management (CVE-2026-6467)

* postgresql: postgresql: Arbitrary code execution via uncaught exceptions in PL/Perl (CVE-2026-116326)

* postgresql: postgresql: Arbitrary SQL execution in reindexdb via crafted index name (CVE-2026-116325)

* postgresql: postgresql: Arbitrary code execution via use-after-free in trigger functions (CVE-2026-120143)

* postgresql: postgresql: Privilege escalation via untrusted search path in vacuumdb (CVE-2026-116313)

* postgresql: postgresql: Arbitrary code execution via use-after-free in plperl (CVE-2026-116319)

* postgresql: postgresql: Arbitrary code execution via use-after-free in expanded-record domain checks (CVE-2026-120150)

* postgresql: postgresql: Arbitrary code execution via foreign batch inserts (CVE-2026-120149)

* postgresql: postgresql: Arbitrary code execution via type confusion in anonymous RECORD types (CVE-2026-120142)

* postgresql: postgresql: Arbitrary code execution via type confusion in PL/Perl (CVE-2026-116309)

* postgresql: postgresql: Arbitrary code execution via predictable restriction key in pg_dump restore script (CVE-2026-116330)

* postgresql: postgresql: Arbitrary code execution via system catalog replication target (CVE-2026-120145)

* postgresql: postgresql: arbitrary code execution via nested SET DATA TYPE during statistics import (CVE-2026-116329)

* postgresql: postgresql: Arbitrary code execution via type confusion in extended statistics (CVE-2026-120148)

* postgresql: postgresql: Arbitrary code execution via PL/pgSQL type confusion (CVE-2026-120151)

* postgresql: postgresql: Arbitrary code execution via use-after-free in dblink extension (CVE-2026-120147)

* postgresql: postgresql: Arbitrary code execution via use-after-free in plperl (CVE-2026-116307)

* postgresql: postgresql: Arbitrary code execution via crafted archive in pg_restore (CVE-2026-116314)

* postgresql: postgresql: Arbitrary code execution via integer wraparound in memory contexts (CVE-2026-116328)

* postgresql: postgresql: Arbitrary code execution via dropped index in REINDEX CONCURRENTLY (CVE-2026-116336)

* postgresql: postgresql: Persistent Denial of Service via arbitrary file append in sslkeylogfile parameter (CVE-2026-14661)

* postgresql: postgresql: Arbitrary code execution via aggregate optimization type confusion (CVE-2026-116331)

* postgresql: postgresql: Arbitrary SQL execution via improper constraint quoting in pg_dump (CVE-2026-116318)

* postgresql: PostgreSQL: Privilege escalation via unqualified type resolution in temporary schema (CVE-2026-116316)

* postgresql: postgresql: Arbitrary code execution via use-after-free in PL/Perl (CVE-2026-116320)

* postgresql: PostgreSQL: Arbitrary code execution via operator link type confusion (CVE-2026-116335)

* postgresql: postgresql: arbitrary code execution via SQL injection in extension-script substitutions (CVE-2026-120153)

* postgresql: postgresql: Arbitrary code execution via heap-based buffer overflow in ts_rank_cd() (CVE-2026-116317)

* postgresql: postgresql: Arbitrary code execution via use-after-free in parallel worker coordination (CVE-2026-116304)

* postgresql: postgresql: Arbitrary code execution via type confusion in data definition commands (CVE-2026-6460)

* postgresql: postgresql: Arbitrary code execution via integer wraparound in tuple-size calculations (CVE-2026-120139)

For 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.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL postgresql18 package based on the guidance in RHSA-2026:104831.

See Also

https://access.redhat.com/errata/RHSA-2026:104831

https://access.redhat.com/security/updates/classification/#important

https://bugzilla.redhat.com/show_bug.cgi?id=2572528

https://bugzilla.redhat.com/show_bug.cgi?id=2572529

https://bugzilla.redhat.com/show_bug.cgi?id=2572530

https://bugzilla.redhat.com/show_bug.cgi?id=2572531

https://bugzilla.redhat.com/show_bug.cgi?id=2572532

https://bugzilla.redhat.com/show_bug.cgi?id=2572533

https://bugzilla.redhat.com/show_bug.cgi?id=2572536

https://bugzilla.redhat.com/show_bug.cgi?id=2572538

https://bugzilla.redhat.com/show_bug.cgi?id=2572540

https://bugzilla.redhat.com/show_bug.cgi?id=2572541

https://bugzilla.redhat.com/show_bug.cgi?id=2572542

https://bugzilla.redhat.com/show_bug.cgi?id=2572543

https://bugzilla.redhat.com/show_bug.cgi?id=2572545

https://bugzilla.redhat.com/show_bug.cgi?id=2572547

https://bugzilla.redhat.com/show_bug.cgi?id=2572548

https://bugzilla.redhat.com/show_bug.cgi?id=2572549

https://bugzilla.redhat.com/show_bug.cgi?id=2572550

https://bugzilla.redhat.com/show_bug.cgi?id=2572551

https://bugzilla.redhat.com/show_bug.cgi?id=2572553

https://bugzilla.redhat.com/show_bug.cgi?id=2572554

https://bugzilla.redhat.com/show_bug.cgi?id=2572555

https://bugzilla.redhat.com/show_bug.cgi?id=2572556

https://bugzilla.redhat.com/show_bug.cgi?id=2572559

https://bugzilla.redhat.com/show_bug.cgi?id=2572560

https://bugzilla.redhat.com/show_bug.cgi?id=2572561

https://bugzilla.redhat.com/show_bug.cgi?id=2572562

https://bugzilla.redhat.com/show_bug.cgi?id=2572563

https://bugzilla.redhat.com/show_bug.cgi?id=2572565

https://bugzilla.redhat.com/show_bug.cgi?id=2572566

https://bugzilla.redhat.com/show_bug.cgi?id=2572567

https://bugzilla.redhat.com/show_bug.cgi?id=2572568

https://bugzilla.redhat.com/show_bug.cgi?id=2572569

https://bugzilla.redhat.com/show_bug.cgi?id=2572570

https://bugzilla.redhat.com/show_bug.cgi?id=2572571

https://bugzilla.redhat.com/show_bug.cgi?id=2572573

https://bugzilla.redhat.com/show_bug.cgi?id=2572576

https://bugzilla.redhat.com/show_bug.cgi?id=2572578

https://bugzilla.redhat.com/show_bug.cgi?id=2572580

http://www.nessus.org/u?8618ca63

Plugin Details

Severity: High

ID: 388829

File Name: redhat-RHSA-2026-104831.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 11/30/2026

Updated: 11/30/2026

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.7

Percentile: 98.81

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-120145

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2026-6460

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:10.3, p-cpe:/a:redhat:enterprise_linux:postgresql18-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql18-docs, p-cpe:/a:redhat:enterprise_linux:postgresql18-plperl, p-cpe:/a:redhat:enterprise_linux:postgresql18-plpython3, p-cpe:/a:redhat:enterprise_linux:postgresql18-pltcl, p-cpe:/a:redhat:enterprise_linux:postgresql18-private-devel, p-cpe:/a:redhat:enterprise_linux:postgresql18-private-libs, p-cpe:/a:redhat:enterprise_linux:postgresql18-server-devel, p-cpe:/a:redhat:enterprise_linux:postgresql18-server, p-cpe:/a:redhat:enterprise_linux:postgresql18-static, p-cpe:/a:redhat:enterprise_linux:postgresql18-test-rpm-macros, p-cpe:/a:redhat:enterprise_linux:postgresql18-test, p-cpe:/a:redhat:enterprise_linux:postgresql18-upgrade-devel, p-cpe:/a:redhat:enterprise_linux:postgresql18-upgrade, p-cpe:/a:redhat:enterprise_linux:postgresql18

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/30/2026

Vulnerability Publication Date: 11/12/2026

Reference Information

CVE: CVE-2026-116304, CVE-2026-116306, CVE-2026-116307, CVE-2026-116309, CVE-2026-116313, CVE-2026-116314, CVE-2026-116315, CVE-2026-116316, CVE-2026-116317, CVE-2026-116318, CVE-2026-116319, CVE-2026-116320, CVE-2026-116323, CVE-2026-116325, CVE-2026-116326, CVE-2026-116328, CVE-2026-116329, CVE-2026-116330, CVE-2026-116331, CVE-2026-116332, CVE-2026-116335, CVE-2026-116336, CVE-2026-120139, CVE-2026-120141, CVE-2026-120142, CVE-2026-120143, CVE-2026-120144, CVE-2026-120145, CVE-2026-120147, CVE-2026-120148, CVE-2026-120149, CVE-2026-120150, CVE-2026-120151, CVE-2026-120153, CVE-2026-14661, CVE-2026-18447, CVE-2026-6460, CVE-2026-6467

CWE: 190, 250, 426, 427, 73, 78, 787, 825, 843, 89, 94

RHSA: 2026:104831