Cloud Servers

AWS RDS for PostgreSQL Gets 18.7 and Four More Security Releases: 52 CVEs Fixed, PostgreSQL 14 Ends

10 min read

AWS RDS for PostgreSQL Gets 18.7 and Four More Security Releases: 52 CVEs Fixed, PostgreSQL 14 Ends

The Short Answer

Amazon RDS for PostgreSQL now supports the five newest minor versions of PostgreSQL — 18.7, 17.12, 16.16, 15.20, and 14.25 — announced by AWS on November 26, 2026. These are not routine point releases. Upstream, the PostgreSQL Global Development Group shipped them on November 12 to close 52 security vulnerabilities and more than 140 bugs, including a family of flaws scored CVSS 8.8 that let a logged-in database user run code on the server. One of the five versions is also a farewell: 14.25 is the final release of PostgreSQL 14, which is now end-of-life and will receive no further fixes.

If you run PostgreSQL anywhere — on RDS, on a managed database elsewhere, or self-hosted on a VPS — the decision is the same: upgrade to the new minor version for your branch, then do the follow-up work the release demands (reindexing certain indexes, taking a fresh full backup, and checking partitioned-table constraints). This article, verified against the AWS announcement and the PostgreSQL release notice on November 28, 2026, covers what changed, how serious the flaws are, the three RDS upgrade paths, and what self-hosters must do differently.

What AWS Announced on November 26

The AWS What’s New entry is short. RDS for PostgreSQL supports the five minor versions, AWS recommends upgrading to address the CVEs in earlier versions, and it names three ways to get there: automatic minor version upgrades during scheduled maintenance windows, phased rollouts across accounts using the AWS Organizations Upgrade Rollout Policy, and RDS Blue/Green deployments to keep downtime low during the switch.

That brevity hides the important context: RDS minor versions track the upstream PostgreSQL project, and the November upstream release is unusually large. Fifty-two CVEs in a single quarterly update is roughly double the previous record, and the fixes span the server, the client tools (pg_dump, pg_restore, pg_basebackup, vacuumdb, reindexdb), logical replication, and several procedural languages. The two-week gap between the upstream release (November 12) and RDS availability (November 26) is also worth noting — it is the normal cost of a managed service validating a release before offering it, and during those two weeks self-hosters could already patch while RDS users waited.

PostgreSQL branch New RDS minor version Status after this release
18 18.7 Supported; all 52 fixes that apply to the branch
17 17.12 Supported
16 16.16 Supported
15 15.20 Supported
14 14.25 Final release — PostgreSQL 14 is end-of-life

What the 52 Fixes Actually Close

Most of the 52 vulnerabilities share a shape: a database role that can create objects — or in some cases any authenticated user — can execute arbitrary code as the operating-system user running PostgreSQL. The headline flaw, CVE-2026-6460 (CVSS 8.8), is a type-confusion bug reachable through ALTER ... SET DATA TYPE and related DDL. Around it sits a long list of similar code-execution flaws in composite types, output parameters, parallel query, plperl, pltcl, plpgsql, foreign data wrappers, and logical replication, many also scored 8.8.

Three properties make this release urgent for server operators specifically:

The attacker needs a login, not the internet. These are authenticated flaws. That sounds reassuring until you count how many logins a typical production database hands out: application users, migration users, BI and reporting tools, support accounts, and every tenant in a multi-tenant setup. Any one of those credentials, if leaked or abused by an insider, becomes server-level code execution on an unpatched instance. Revoking the default TEMPORARY privilege from PUBLIC narrows one known exploit path, but the PostgreSQL project is clear that it is a mitigation, not a substitute for patching.

The client tools are in scope. Several CVEs live in pg_dump, pg_restore, and pg_basebackup — the utilities that run on backup servers, CI runners, and admin laptops, often against dumps produced by other systems. A crafted dump restored with an old pg_restore can execute code on the machine doing the restore. Patching only the database server and leaving client tools at the old minor version leaves part of the release unapplied.

One flaw needs no login at all. CVE-2026-116322 lets a pre-authentication cancel request leak a spinlock — a denial-of-service vector against PostgreSQL 18. It is the exception in a list dominated by authenticated issues, and it is one more reason internet-facing instances should not wait for a convenient maintenance window.

The release also fixes correctness bugs with real operational weight: GIN and pg_trgm GiST index corruption that can make queries miss rows, incremental-backup defects that could produce corrupt backups, base-backup problems including a torn copy of the pg_control file, and planner bugs that could return wrong results. In other words, even if you judge the security risk low for your setup, the data-integrity fixes alone justify the upgrade.

The Work After the Upgrade

Minor-version upgrades in PostgreSQL are deliberately boring: stop the server, swap the binaries, start it again. No dump and reload, no pg_upgrade. The November release, however, attaches a checklist to that simple swap, and skipping it leaves known-bad state in place:

  • Reindex GIN indexes you suspect were hit by the corruption bugs fixed here, and reindex any GiST indexes using the gist_trgm_ops operator class from pg_trgm.
  • Reindex B-tree indexes on bpchar columns declared without a length (columns declared char(n) are not affected). The release disables B-tree deduplication for those columns because index-only scans could return wrong results; existing indexes need rebuilding.
  • Take a new full backup if you use incremental backups, and make it the basis for subsequent incrementals — earlier incrementals may be corrupt.
  • Check partitioned tables for NOT NULL NO INHERIT constraints, which could previously allow partitions to contain NULLs they should not. The release notice includes the exact query to find them; unwanted constraints can be dropped, wanted ones repaired with ALTER CONSTRAINT ... INHERIT, which fails loudly if a partition already contains violating NULLs.
  • Rebuild compiled extensions. The fix for CVE-2026-6460 changes how C extensions interact with the server, and the PostgreSQL packaging team rebuilt the extension packages against the new minor releases. An old extension binary still loads after the upgrade — but without the full protection. On RDS, AWS manages the extension set for you; on a VPS, this step is yours.

If you skipped earlier minor releases, the project warns you may owe additional post-update steps from those releases too. Treat the upgrade as a small maintenance project, not a one-command patch. The same discipline applies to hypervisor and kernel CVEs on the host underneath — our coverage of the KVM host-memory escape CVE-2026-99312 makes the point from the virtualization side: the patch is the easy part, the verification afterward is the job.

PostgreSQL 14 Is Finished

The most consequential line in the upstream announcement is not about any CVE. PostgreSQL 14.25 is the last release of the 14 branch. Version 14 is end-of-life as of this release and will receive no further security or bug fixes. The next quarterly security release, whenever it lands, will simply not include a 14.x build.

For RDS users still on 14, this changes the upgrade from a minor-version bump to a major-version migration — to 15, 16, 17, or 18 — with the testing, extension-compatibility checks, and downtime planning that a major upgrade requires. RDS supports major-version upgrades in place and via Blue/Green deployments, but neither removes the need to test your application against the new major version first. The practical advice is to schedule that migration now, while 14.25 is still the current patch level, rather than after the next CVE forces the issue on someone else’s timeline. Self-hosters face the same deadline with fewer safety nets: a major upgrade on a VPS means pg_upgrade or a dump/restore, a maintenance window, and a rollback plan.

RDS or Self-Hosted: Where This Release Cuts Each Way

This release is a clean test of the managed-versus-self-hosted trade-off, because both sides can point to a real advantage.

Managed RDS users got the fix two weeks after upstream, but they get it as a console action: enable automatic minor version upgrades, or run a Blue/Green deployment and cut over with minimal downtime, with AWS handling binaries, extensions, and the underlying host. The phased Upgrade Rollout Policy extends that to fleets — validate on development and staging accounts first, then production. Compare that with the churn managed-database customers elsewhere are absorbing this month: DigitalOcean’s database plan changes landing November 30 remove standbys from new standard clusters, a reminder that managed convenience always comes with the provider’s roadmap attached.

Self-hosters on a VPS could patch on November 12, the day upstream shipped — and for an internet-facing database with many logins, two weeks is a long exposure window. But self-hosting means owning every step above: binary packages, extension rebuilds, reindexes, backup validation, and the PostgreSQL 14 migration. That is entirely reasonable for operators who already run their stack deliberately — the audience for our best VPS for self-hosting guide — provided the basics are in place first. If your VPS hardening is still on the to-do list, start with how to secure your VPS before the database upgrade, not after: an unpatched PostgreSQL on a well-hardened host is a smaller problem than a patched one on a host with password SSH and no firewall.

Neither answer is wrong. The wrong answer is running an old minor version because nobody owns the upgrade — which, in our experience, is how most production databases actually stay unpatched.

Your Checklist for This Week

  1. Inventory every PostgreSQL instance — RDS, other managed services, VPS installs, Docker containers, and the client tools on backup and CI machines. Note the exact minor version of each.
  2. Upgrade each branch to 18.7, 17.12, 16.16, 15.20, or 14.25. On RDS, prefer Blue/Green for production; use automatic minor upgrades or the rollout policy for fleets.
  3. Rebuild or update compiled extensions in the same change window (self-hosted), so the CVE-2026-6460 fix is complete.
  4. Reindex GIN indexes, pg_trgm GiST indexes, and B-tree indexes on length-less bpchar columns.
  5. Take a fresh full backup and verify a restore — do not trust pre-upgrade incremental chains.
  6. Run the partitioned-table constraint check from the release notice and repair what it finds.
  7. Plan the PostgreSQL 14 exit. If anything still runs 14, put a major-version migration on the calendar now.

FAQ

What did AWS announce on November 26, 2026?
Amazon RDS for PostgreSQL now supports minor versions 18.7, 17.12, 16.16, 15.20, and 14.25. AWS recommends upgrading to address CVEs in earlier versions and to pick up the community bug fixes.

How serious are the vulnerabilities?
The upstream release fixes 52 security vulnerabilities. The most serious, CVE-2026-6460, is scored CVSS 8.8 and lets a database user who can create objects execute code as the PostgreSQL OS user. Most flaws require a valid database login; one (CVE-2026-116322) is a pre-authentication denial-of-service issue on PostgreSQL 18.

Do I need to dump and reload to apply this update?
No. PostgreSQL minor releases are cumulative binary updates: stop the server, update the binaries, restart. But this release requires follow-up work — reindexing certain indexes, a new full backup for incremental-backup users, and a constraint check on partitioned tables.

What happens to PostgreSQL 14?
14.25 is its final release. PostgreSQL 14 is end-of-life and will receive no further security or bug fixes. Anyone running 14 should plan a major-version upgrade to a supported branch.

How do I upgrade on RDS with minimal downtime?
Use an RDS Blue/Green deployment for the minor-version upgrade, or enable automatic minor version upgrades in a maintenance window. For fleets across accounts, the AWS Organizations Upgrade Rollout Policy phases upgrades from lower-priority environments to production.

I self-host PostgreSQL on a VPS. What is different for me?
You could patch from November 12, two weeks before RDS offered the versions — but you own the whole checklist: packages, extension rebuilds, reindexes, backup validation, and the PostgreSQL 14 migration. Patch the client tools (pg_dump, pg_restore, pg_basebackup) on every machine that runs them, not just the server.

The Bottom Line

AWS adding 18.7, 17.12, 16.16, 15.20, and 14.25 to RDS looks like routine version housekeeping; it is actually the delivery vehicle for one of the largest PostgreSQL security releases on record — 52 CVEs, dozens of them code-execution flaws reachable by any database login — plus the end of the PostgreSQL 14 line. Upgrade every instance you run, do the reindex and backup work the release asks for, and treat any remaining PostgreSQL 14 deployment as a migration project with a deadline. The patch itself takes minutes. Being able to prove you applied it everywhere is the real task.

Sources: AWS What’s New, “Amazon RDS for PostgreSQL supports minor versions 18.7, 17.12, 16.16, 15.20, and 14.25” (aws.amazon.com, November 26, 2026); PostgreSQL Global Development Group, “PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25, and 19 RC 2 Released!” (postgresql.org, November 12, 2026) — both checked November 28, 2026.

One response to “AWS RDS for PostgreSQL Gets 18.7 and Four More Security Releases: 52 CVEs Fixed, PostgreSQL 14 Ends”

Leave a Reply

Your email address will not be published. Required fields are marked *