What’s Vulnerable › Vulnerabilities

CVE-2026-14676: PostgreSQL pg_stat_statements heap buffer overflow executes arbitrary code

Description

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 products

How to fix

Upgrade to a fixed version: PostgreSQL 18.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-14676 or the next vulnerability affects your stack