CVE-2026-14676

ZDI-26-974 · ZDI-CAN-30576 · published 13 Aug 2026 · updated 13 Nov 2026

PostgreSQL pg_stat_statements heap buffer overflow executes arbitrary code

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 18.6.

Heap buffer overflow in PostgreSQL pg_stat_statements allows the query author to execute arbitrary code as the operating system user running the database, via crafted queries containing array constants. Within major version 18, minor versions before PostgreSQL 18.6 are affected. Versions before PostgreSQL 18 are unaffected.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=18 <18.618.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-14676 severity on Zeptric[![CVE-2026-14676](https://zeptric.io/badge/cve/CVE-2026-14676.svg)](https://zeptric.io/cve/CVE-2026-14676)