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

Published Aug 13, 2026
·
Updated

Heap buffer overflow in PostgreSQL pgstatstatements 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 Software

2 affected components
PostgreSQL pg_stat_statements>18<=18.4, >=18.0<=18.4
PostgreSQL postgresql>=18.0<18.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PostgreSQL pg_stat_statements to a version that resolves this vulnerability.

    Fixed in 18.6

Event History

Aug 13, 2026
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-14676?

CVE-2026-14676 has a severity rating of 8.8, classified as high.

2

How do I fix CVE-2026-14676?

To fix CVE-2026-14676, upgrade PostgreSQL pg_stat_statements to version 18.5 or later.

3

What types of systems are affected by CVE-2026-14676?

CVE-2026-14676 affects PostgreSQL major version 18, minor versions before 18.5.

4

What could attackers achieve by exploiting CVE-2026-14676?

Exploitation of CVE-2026-14676 allows attackers to execute arbitrary code as the operating system user running the PostgreSQL database.

5

What impact does CVE-2026-14676 have on data security?

CVE-2026-14676 can result in unauthorized data access and potential breaches due to its heap buffer overflow vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203