PostgreSQL 18.7, 17.12, 16.16, 15.20 and 14.25 fix 52 CVEs, 32 of them scored 8.8, and nearly all need a login first
PostgreSQL's 52-CVE update is mostly a story about what a low-privileged login could do, plus six post-update chores and the final release of version 14.
The PostgreSQL Global Development Group released updates to every supported branch on November 12: 18.7, 17.12, 16.16, 15.20 and 14.25, plus the second release candidate of PostgreSQL 19. The announcement's second sentence carries the number: "This release fixes 52 security vulnerabilities and over 140 bugs reported over the last several months."
What the 52 look like
The announcement lists every CVE with its CVSS v3.1 score and vector, so the distribution can be counted. Of the 52, 32 are scored 8.8, and 28 have titles saying the flaw executes, or may execute, arbitrary code. The recurring terms are type confusion, use-after-free and integer wraparound. Five titles name PL/Perl and one names PL/Tcl.
The vectors matter as much as the scores. Most of the 8.8s read AV:N/AC:L/PR:L/UI:N: reachable over the network, but only by someone who can already log in. Five entries have PR:N. Three of those need a person to act (restoring a crafted archive, running the restore.sql from a tar-format dump, subscribing to a compromised publisher), and a fourth is rated high complexity. The one low-complexity flaw open to an unauthenticated client is CVE-2026-116322, scored 5.3. Its advisory describes a restart, not code execution: it "allows an unauthenticated network client to trigger a server restart", and only 18.x before 18.7 is affected.
So the exposure depends on who holds a login. The lead entry, CVE-2026-6460, shows the pattern. Its advisory says the bug "allows an object creator to execute arbitrary code as the operating system user running the database, via ALTER ... SET DATA TYPE primarily", and gives the cause plainly:
The system had inadequate tracking of typed values, and values were not self-identifying.
PostgreSQL security advisory, CVE-2026-6460
Replication and restore
Two entries concern moving data between servers. CVE-2026-120145 "allows a compromised publisher to execute arbitrary code as the operating system user running the superuser-owned subscription, via naming a system catalog as a replication target", with the limit that "Only subscriptions owned by a superuser are vulnerable."
CVE-2026-116314 lets a crafted non-plain archive run code as the OS user running pg_restore. The advisory draws the line carefully: "crafted archive data may legitimately cause arbitrary SQL to execute at the restore destination, but it does not legitimately confer arbitrary code execution in the pg_restore OS process."
Six chores after the upgrade
No dump and reload is needed, but the announcement's "Updating" section lists follow-ups:
- Reindex any GIN index you suspect was hit by the corruption fixes.
- Reindex
pg_trgmGiST indexes that usegist_trgm_ops. - If a table throws
missing chunk numbererrors, runREINDEX TABLEon it. - If you use incremental backups, take a new full backup and base later ones on it.
- Reindex B-tree indexes on
bpcharcolumns declared without a length. The notes add that "Columns declared as char(n) are not affected." - Find
NOT NULL NO INHERITconstraints on partitioned tables, which could let a partition hold NULLs:
SELECT conrelid::regclass, conname
FROM pg_constraint
WHERE contype = 'n' AND connoinherit
AND conrelid IN (SELECT oid FROM pg_class WHERE relkind = 'p');
The project is candid about one change: "Rework the planner's join removal implementation. While this is a significant change for an update release, it was made to avoid continued bugs from the previous implementation." It also repairs a side effect of an earlier security fix. psql again accepts several COPY ... FROM STDIN commands in one string, because "The fix for CVE-2026-6464 caused psql to reject these."
Version 14 ends, version 19 is a week out
"This is the final release of PostgreSQL 14," the announcement says. The branch "is now end-of-life and will no longer receive security and bug fixes."
PostgreSQL 19 RC 2 includes the applicable fixes, and general availability is planned for November 19 "Unless an issue is discovered that requires a delay or an additional release candidate". One RC-period change needs action from testers: support for JSON_ARRAY() and JSON_OBJECT() over arrays, composites and ranges in expression indexes, generated columns and partition keys was reverted, and existing objects must be dropped or redefined because "pg_dump / pg_restore and pg_upgrade will fail to recreate them."
A note on method: the counts above come from the announcement's own list, and this desk read four of the 52 individual advisories in full.
Primary sources: PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25, and 19 RC 2 Released, CVE-2026-6460, CVE-2026-116322, CVE-2026-116314, CVE-2026-120145, read 2026-11-13.