8.8High

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

PostgreSQL Published: (3 months ago)

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.

Weakness (CWE): CWE-122

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
postgresql postgresql 18.0 – < 18.5
— PostgreSQL 18 – < 18.6

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* ≥ 18.0 < 18.5