Top stories

Image: pganalyze

Postgres 18.7 Security Release: The Impact of CVE-2026-6460 & other memory corruption issues

PostgreSQL released minor versions 18.7, 17.12, 16.16, 15.20 and 14.25, fixing 52 security vulnerabilities and other bugs. Lukas Fittl's analysis groups the CVEs by attacker requirements, examines CVE-2026-6460 and its unusually invasive fix, and warns the release can break extensions. Deployments that allow arbitrary SQL execution or face SQL injection risk should update, since any user able to run SQL could ultimately become an OS user or the Postgres superuser.

  • Mehmet Ince: Part 3/6 | How I Ended Up Turning a 22-Year-Old PostgreSQL Type-Confusion Primitive into RCE (CVE-2026-6460)

    Security researcher Mehmet Ince detailed how he turned a 22-year-old type-confusion zero-day in PostgreSQL core, CVE-2026-6460, into remote code execution. Changing the type of a field inside a composite type and reading the value back produced a highly reliable memory-corruption primitive, which he describes as a new class of PostgreSQL type-confusion bugs. The work began while exploiting pg_clickhouse, used an AI agent to study internals, and is part 3 of a six-part series on systemic risks in managed PostgreSQL.

  • Christophe Pettus: The Vector That Lied About Its Dimensions

    pgvector 0.8.7 fixes CVE-2026-103484: a database user who can create an IVFFlat index can write out of bounds in the backend, which can lead to arbitrary code execution. Every version through 0.8.6 is affected. Upgrade. That part is simple. Two other parts are not: who can…

  • Ruohang Feng: PostgreSQL Just Patched 52 CVEs in a Single Minor Release

    PostgreSQL's November minor releases fix 52 CVEs and more than 140 bugs across all supported branches and retire PostgreSQL 14, Ruohang Feng writes. The post links the volume of fixes to continuous AI code auditing of the decades-old C codebase and outlines required post-upgrade steps. It also notes same-day Pigsty 4.6 packages and Simplified Chinese localization arriving in PostgreSQL 14 through 19.

Latest

  1. Stefan Fercot: When did I start contributing to pgBackRest, exactly?

    Stefan Fercot reflects on his history of contributing to pgBackRest, the PostgreSQL backup tool, after attending the PGConf.EU talk "The Monday We Learned Who Maintains Our Backups" by David Steele and Jan Wieremjewicz in October. The talk covered how pgBackRest was born, told by its author. One slide listed the founding major contributors David Steele, Cynthia Shang, Stephen Frost and Reid Thompson, while the next placed Fercot's name under "Next:".

  2. Nikolay Samokhvalov: PGAIBench and AAA: can AI safely change production Postgres?

    Nikolay Samokhvalov has published PGAIBench, a benchmark testing whether AI models can safely make changes to production Postgres databases, alongside a safeguard called AAA. Across 949 live runs on Postgres 18.7 involving 10 models, 13 of 408 scored primary changes caused harm. Replaying those changes through AAA would have blocked 12 of the 13 harmful changes while approving 377 of 378 safe or unclassified ones.

  3. Mats Kindahl: Building a Table Access Method, Part 9: UNLOGGED tables and surviving a restart

    Mats Kindahl has published Part 9 of his series on building a PostgreSQL table access method, focusing on how pg_memtable tables behave across server restarts. Because MemTables store data in shared memory, a restart destroys the arena while the table record in pg_class survives, pointing to data that no longer exists. The post explains table persistence, how unlogged tables handle crash recovery and controlled restarts, how to make every MemTable unlogged so Postgres treats them correctly, and how to recreate a table's arena after a restart.

  4. Henrietta Dombrovskaya: The Last Prairie PUG Meetup of 2026

    Prairie Postgres, a PostgreSQL user group, held its final meetup of 2026 in November, combining it with a delayed celebration of the group's second anniversary, which fell in October. Sami Imseih presented his "Become a PG_STAT_*" talk, previously given at PG DATA 2026, updated to cover the latest additions coming in PostgreSQL 19. Organizer Henrietta Dombrovskaya thanked participants and volunteers and said the group will resume in 2027.

  5. Dan Langille: Galène: fixing double-encoded port files

    Dan Langille describes a character-encoding bug on FreshPorts, where the COMMENT line for the www/galene port displayed as "The Galène videoconference server" instead of Galène. He explains how the double-encoding happened and the fix he pushed. He also outlines how he will test the change on the development environment and his plan to repair text already stored incorrectly.

  6. uzair aslam: PostgreSQL Connection Pooling on Vercel with Next.js

    Uzair Aslam has published a guide to configuring PostgreSQL connection pooling for Next.js applications deployed on Vercel. It addresses endpoints that time out after deployments or traffic spikes when PostgreSQL reports too many connections, noting that adding function instances can worsen the problem because each opens its own connections. The guide covers sizing a shared node-postgres pool in the App Router, releasing clients, and handling transactions without leaks. It uses Node.js 24 and includes a local lab that reproduces requests queued behind an unreleased client.

  7. Vibhor Kumar: Relevance Is Not Permission: Filter-First Vector Search in PostgreSQL

    Vibhor Kumar argues that vector similarity search in retrieval systems has no concept of authority, illustrating the risk with an internal assistant that surfaces an HR-only compensation chunk to an employee asking about bonus timelines. No component failed, so no alert fired. He sets out four PostgreSQL patterns to enforce permission in SQL: put authority in the table, keep filters from starving results, make hard boundaries physical, and prove what an agent could see.

  8. Jimmy Angelakos: postgres.scot November 2026: a live Radar demo and Call for Presentations for December meetup

    Jimmy Angelakos recapped the November 19 postgres.scot meetup at the University of Edinburgh's Old College Law School, where scheduled speaker Alastair Turner of Percona could not attend after a rail incident cancelled northbound trains. Angelakos stepped in with an expanded version of his PGConf.EU talk on Radar and Radar Analyst, agentless diagnostic snapshot tools for PostgreSQL, including a live demo. Radar is a single Go binary that gathers configuration, statistics and host details, which radar-analyst turns into an analysis. The group also opened a call for presentations for its December meetup.

  9. Aleksei Aleinikov: PostgreSQL 19 vs 18: Native REPACK, pg_plan_advice, Graph Myth & Production Upgrade Guide

    Aleksei Aleinikov compares PostgreSQL 19 with 18, describing 19 as an operational release following 18's asynchronous I/O work. PostgreSQL 19 adds native REPACK (CONCURRENTLY), pg_plan_advice, INSERT ... ON CONFLICT DO SELECT, parallel index autovacuum and auto-scaling Async I/O in core. The guide also covers default changes, the reverted SQL/PGQ beta feature and pg_upgrade blockers that can break a copied v18 configuration. It recommends upgrading for high-churn OLTP clusters with bloat after auditing postgresql.conf, including the io_workers setting.

  10. Zsolt Parragi: What's left in Postgres 19

    PostgreSQL 19 has been released after multiple delays and a number of feature reverts during its development cycle. Developer Zsolt Parragi reviews which notable additions remain in the release and whether it is still an interesting upgrade. The post highlights selected features rather than a complete list, pointing to the official release notes for the full set. It also acknowledges that a long list of interesting features was dropped before release.

  11. Ahsan Hadi: PostgreSQL 19 is Here: Worth the Wait

    PostgreSQL 19 has been released, and pgEdge says its packages, including Spock support, were available the same day. pgEdge's Ahsan Hadi highlights a feature that rebuilds a bloated table without blocking reads and writes; in his test, inserts continued at about 2,000 per second while the table was rebuilt in under a second. Logical replication gains sequence publishing and syncing, can be enabled without a restart, and lets publications exclude tables. Autovacuum can now use parallel workers on indexes and ranks tables with a scoring system.

  12. Dave Stokes: Using dbvr with PostgreSQL: From First Datasource to Production Queries

    Dave Stokes walks through using dbvr, DBeaver Corporation's command-line database tool, with PostgreSQL, covering datasource creation, running queries and production use. DBeaver announced dbvr on March 26, 2026 as a standalone CLI built on the same multi-database engine as its desktop products, able to run SQL without a GUI on servers, in containers and over SSH. It authenticates natively to AWS, GCP and Azure databases, exports results to cloud storage and fits CI/CD pipelines. A commercial per-machine subscription exists, and DBeaver 26.1 added a free dbvr Community edition under Apache License 2.0.

  13. Image: ClickHouse Blog

    pg_clickhouse 0.11.1: Now with pgvector, UPDATE, DELETE pushdown

    David Wheeler announced pg_clickhouse 0.11.1, a release of the PostgreSQL extension for querying ClickHouse that adds pushdown of UPDATE, DELETE and TRUNCATE statements along with pgvector search pushdown. The version maps pgvector types to ClickHouse columns such as Array(Float32), letting vector similarity queries run on the ClickHouse side. Despite the minor version bump, the release also brings bug fixes and closer PostgreSQL compatibility, and it is available in ClickHouse Managed Postgres.

  14. Radim Marek: Your biggest tenant runs someone else's plan

    Radim Marek analyzes how PostgreSQL can plan a large tenant's query using a generic plan derived from smaller tenants' executions in multi-tenant applications. The issue arises when one tenant is much bigger than others and the query is sent as a prepared statement, with the plan kept for the connection's lifetime. In one case a plan estimated a cost of a few hundred and one row, while production read thousands of buffers per call. He reproduced it on PostgreSQL 18.7 with pageinspect while working on RegreSQL, which compares plans by cost.

  15. Cornelia Biacsics: Contributions for week 45

    Cornelia Biacsics published a weekly roundup of PostgreSQL community contributions for week 45 of 2026. Speakers including Grant Fritchey, Pat Wright and Adam Machanic gave PostgreSQL sessions at PASS Data Community Summit, held 9-11 November. Meetups took place in the San Francisco Bay Area, Vienna, Istanbul and London, along with Postgres Meetup for All, and pgDay México 2026 was held on 13 November.

  16. Álvaro Herrera: Squeezing tables with Postgres 19

    Postgres developer Álvaro Herrera writes about work on table squeezing in Postgres 19, tracing it to a January 2024 question on the hackers mailing list. Pavel Stehule, a consultant who works with very large, high-velocity databases, asked why PostgreSQL had no VACUUM FULL CONCURRENTLY. Herrera explains why the existing VACUUM FULL command was not sufficient for such production systems and credits the Postgres development community for the collaboration behind the work.

  17. Andrew Dunstan: New Security Infrastructure for PostgreSQL

    PostgreSQL developer Andrew Dunstan described new infrastructure for handling security fixes, in place since June 2026. Pending fixes now live as a stack of patches in a private git repository, and a private buildfarm continuously builds and tests that stack across every supported branch before release. Previously, embargoed fixes circulated as patch files among a small group, often with separate versions for six or seven branches, and got their first broad platform testing on the public buildfarm only hours before tarballs were made on wrap day.

  18. damien clochard: PGRX 0.20: Build your own RPM/DEB packages

    Damien Clochard describes pgrx 0.20, a new release of the Rust framework for writing PostgreSQL extensions, which can now build RPM and DEB packages directly. Previously the cargo pgrx package command only produced a directory tree, leaving distro-specific packaging to developers; the PostgreSQL Anonymizer extension, for example, ships 24 packages per release across distros, Postgres major versions and CPU architectures. The release includes breaking changes and automatically generates Rust versions of Postgres C macros and static inline functions at build time.

  19. Nikolay Samokhvalov: The hidden costs of CREATE TEMP TABLE: catalog bloat and LWLock:SInvalWrite

    Nikolay Samokhvalov examined the performance costs of using CREATE TEMP TABLE in PostgreSQL, pointing to system catalog bloat and contention on the LWLock:SInvalWrite lock. In tests on Postgres 18, a common table expression delivered 23 times the transactions per second of creating a temp table in each transaction. With 5,000 idle sessions connected, a workload running temp-table DDL reached only 127 and 249 TPS against a 500 TPS target across two runs.

  20. salaheddine el hssani: Checking a compiler against a second implementation

    Salaheddine El Hssani describes testing a policy compiler by comparing it against a second, slow and plain implementation on inputs neither author chose. The compiler turns short access policies into PostgreSQL views, row-level security policies, trigger-maintained closure tables and single-row check functions. The piece covers what the differential comparison found, what it missed, and why the reference implementation itself needs checks, arguing that tests written by a code's own author share that author's misreadings.