Skip to content
/
Suscribirse Subscribe

PostgreSQL Patches 52 CVEs (Multiple 8.8 RCEs) and Retires PG 14: Why Restarting Is Not Enough

PostgreSQL ships 18.7/17.12/16.16/15.20 & EOL 14.25 fixing 52 CVEs including CVSS 8.8 RCEs—plus mandatory post-upgrade REINDEX and backup resets.

Open enterprise dual-NVMe rackmount storage chassis on rails beside a bright red lockout padlock and maintenance binders

(🇪🇸 Leer la versión en español aquí)

If your runbook for today's PostgreSQL release stops at apt upgrade && systemctl restart postgresql, read the release notes again before touching production. The PostgreSQL Global Development Group just shipped PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 (plus PostgreSQL 19 RC 2), squashing over 140 bugs alongside 52 security vulnerabilities.

This is not a routine minor point release. It bundles more than a dozen CVSS v3.1 8.8 arbitrary code execution (RCE), use-after-free, and heap overflow bugs—including legacy type-tracking primitives lurking for roughly 22 years, as highlighted in coverage from The Hacker News—and officially pushes PostgreSQL 14 into End-of-Life (EOL).

Inside the 52-CVE Drop: CVE-2026-6460 & Broken Assumptions

Leading the batch is CVE-2026-6460 (CVSS 8.8), a type-confusion flaw triggered around DDL patterns like ALTER ... SET DATA TYPE and transactional column changes (ALTER TABLE ... ADD COLUMN; ROLLBACK) on composite types. Because stale cached values inside data dictionary structures or PL/pgSQL variables could survive type changes without self-identifying metadata, an authenticated user able to create objects could achieve arbitrary code execution as the OS postgres user.

CVE / Subsystem Underlying Failure Production Blast Radius CVSS v3.1 Primary Source
CVE-2026-6460 (DDL / Composite Types) Type confusion after ALTER ... SET DATA TYPE Arbitrary OS code exec as postgres 8.8 PostgreSQL 18.7
CVE-2026-116304 (Parallel Execution) Parallel RECORD typmod use-after-free Memory corruption / arbitrary code execution 8.8 PostgreSQL 18.7
CVE-2026-116314 (pg_restore) Unvalidated non-plain archive handling Arbitrary code exec during restore pipelines 8.8 PostgreSQL 18.7
CVE-2026-116315 / 116317 (Full-Text Search) Heap buffer overflows in tsvector_delete() & ts_rank_cd() Arbitrary code exec via FTS workloads 8.8 PostgreSQL 18.7
CVE-2026-14661 (dblink / Subscriptions) Improper file target handling Append to arbitrary host files 8.1 PostgreSQL 18.7

If you run multi-tenant schemas, accept third-party dumps through pg_restore, or expose plperl/untrusted extension boundaries, several of these CVSS 8.8 primitives turn SQL-level privileges straight into host compromises.

PostgreSQL 14 Hits End-of-Life (Final 14.25 Build)

With 14.25, PostgreSQL 14 is officially dead for upstream security and corruption backports.

Fork diagram showing 52 CVEs and CVSS 8.8 RCE splitting PG 15-18 Patched from PG 14.25 EOL with no more fixes

Given how fast automated exploit pipelines are now combing open-source C codebases—just look at OpenAI burning tokens to synthesize 948 Linux kernel root exploits—keeping production clusters pinned on an unpatched EOL major branch is pure operational debt compounding every week.

Read the Fine Print in Updating: Post-Upgrade Footguns

The real DBA trap sits inside the Updating checklist of PostgreSQL's advisory: swapping binaries does not heal already-corrupted indexes or fix broken incremental backup chains.

Before signing off your change ticket, execute these four checks:

  1. Targeted REINDEX runs: Core fixes disabled B-tree deduplication on lengthless bpchar columns (which could silently return wrong index-only scan results) and fixed pg_trgm GiST (gist_trgm_ops) / GIN corruption. You must explicitly REINDEX affected indexes—and run REINDEX TABLE wherever REINDEX CONCURRENTLY left TOAST tables throwing missing chunk number errors.
  2. Throw away old incremental backup chains: Because the release patches bugs where incremental backups and pg_basebackup could produce torn pg_control or truncated postgresql.auto.conf copies, PostgreSQL explicitly recommends taking a fresh full base backup after updating before resuming incrementals.
  3. Audit NOT NULL NO INHERIT on partitioned tables: Partitioned tables previously leaked NULL values under inherited constraints. Query pg_constraint WHERE contype = 'n' AND connoinherit to clean stale constraints before staging major upgrades.
  4. Watch the join-removal planner rework: An invasive planner rework fixes join-removal correctness and prevents silent row loss during CLUSTER / VACUUM FULL involving aborted subtransactions. Run critical query plans through staging EXPLAIN ANALYZE first.

Need hard math for cloud hardware vs. local infra budgets, or Spanish payroll comparisons? Check out our Cloud API vs. Dedicated GPU Calculator, Spain Net Salary Calculator, or the full Syncroma Tools directory.


Cover photography and localized infographics created by Syncroma Studio.

Newsletter Newsletter

Sistemas reales, sin humo corporativo Real systems, zero corporate hype

Recibe los análisis a fondo sobre arquitectura, consumo de recursos y computación de bajo nivel directamente en tu bandeja de entrada. Get deep-dive software architecture, resource consumption metrics, and low-level computing essays delivered straight to your inbox.

Suscribirse a Syncroma Subscribe to Syncroma
Suscribirse Subscribe