Back to Security Advisories

Postgresql:18 Security Update — AlmaLinux 9 (ALSA-2026:104854)

ALSA-2026:104854 updates [ALSA-2026:104854] Important: postgresql:18 on AlmaLinux and fixes 38 CVEs: postgresql: Arbitrary code execution via composite-value field assignment type confusion (CVE-2026-116306); postgresql: Arbitrary code execution via use-after-free in PL/Tcl (CVE-2026-116323); and 36 more listed below. Install it with sudo dnf update --advisory=ALSA-2026:104854.

High 8.8 CVSS
AlmaLinux 9

What this means under a SharedLicense license

Of the 38 flaws, 32 flaws that allow code execution, 3 privilege-escalation flaws and 1 denial-of-service flaw stand out in the fix list. The highest CVSS score on record for them is 8.8 (CWE-843).

PostgreSQL is an advanced object-relational database management system (DBMS).

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.

Frequently Asked Questions

What does ALSA-2026:104854 fix?
postgresql: Arbitrary code execution via composite-value field assignment type confusion (CVE-2026-116306); postgresql: Arbitrary code execution via use-after-free in PL/Tcl (CVE-2026-116323); postgresql: Arbitrary code execution via use-after-free during portal setup (CVE-2026-116332); postgresql: Arbitrary code execution via type confusion in materialized set-returning functions (CVE-2026-120141); postgresql: Arbitrary code execution via type confusion in SQL-language functions (CVE-2026-18447); PostgreSQL: Arbitrary code execution via incomplete type-cache invalidation (CVE-2026-120144); and 32 more, listed in full above.
How do I apply ALSA-2026:104854?
Run sudo dnf update --advisory=ALSA-2026:104854 on AlmaLinux : it installs exactly the packages of this erratum.
How can I check whether my server needs this update?
Run sudo dnf updateinfo list --security on the server: it lists the security advisories that apply to installed packages, including ALSA-2026:104854 if any of its packages are installed.

Check your system for vulnerabilities

Select your product and operating system to see the exact fix commands that apply to you.

Check Your System