Skip to main content
No exploitation reportedFix available

CVE-2026-14676

No exploitation reported by the sources we read.

  • Published2026-08-13
  • Fixed in18.5
  • WeaknessCWE-122

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-08-1313:17CVE publishedNVD

Versions per branch

NVD · OSV
PostgreSQL
BranchAffectedFixed in
18.x≥ 18.0, < 18.518.5
postgresql
BranchAffectedFixed in
18.x≥ 18.0.0, < 18.5.018.5.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As PostgreSQL, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • PostgreSQLother versions: not affected
    Affected
    • ≥ 18, < 18.6fixed in 18.6rpm

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-08-29

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • pg_repackRocky Linux:9all versions · fixed in 0:1.5.3-1.module+el9.8.0+40158+490b3c67
  • pg_repackRocky Linux:9all versions · fixed in 0:1.5.3-1.module+el9.8.0+40213+f1e225a4
  • pg_repackRed Hat:enterprise_linux:9::appstreamall versions · fixed in 0:1.5.3-1.module+el9.8.0+23739+1c42644cand 2 other packages
  • pg_repackAlmaLinux:9all versions · fixed in 1.5.3-1.module_el9.8.0+234+5456f35d
  • pgauditRocky Linux:9all versions · fixed in 0:18.0-1.module+el9.8.0+40158+490b3c67
  • pgauditRocky Linux:9all versions · fixed in 0:18.0-1.module+el9.8.0+40213+f1e225a4
  • pgauditRed Hat:enterprise_linux:9::appstreamall versions · fixed in 0:18.0-1.module+el9.8.0+23739+1c42644cand 2 other packages
  • pgauditAlmaLinux:9all versions · fixed in 18.0-1.module_el9.8.0+234+5456f35d

60 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-14676 Red Hat Product Security305 products fixed

    postgresql: PostgreSQL pg_stat_statements: Arbitrary code execution via heap buffer overflow

  • RHSA-2026:67848 Red Hat Product Security199 products fixed

    Red Hat Security Advisory: postgresql:18 security update

  • RHSA-2026:67280 Red Hat Product Security106 products fixed

    Red Hat Security Advisory: postgresql18 security update

Full record on NVD

Fix

  1. Update PostgreSQL to 18.5
  2. Vendor fix Red Hat Product Security RHSA-2026:67848 · 199 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Workaround from the vendor Red Hat Product Security RHSA-2026:67848 · 199 productsIf upgrading to PostgreSQL 18.5 or later is not immediately possible, the pg_stat_statements extension can be disabled as a workaround. Remove 'pg_stat_statements' from the shared_preload_libraries parameter in postgresql.conf and restart the PostgreSQL service. This disables query statistics track…

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-08-13
Last modified
2026-08-29
NVD status
Modified
GitHub advisory
GHSA-8848-x36c-v99q

Frequently asked questions

What is CVE-2026-14676?

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.

Is CVE-2026-14676 actively exploited?

Active exploitation of CVE-2026-14676 has not been confirmed. Its EPSS score was 0.4% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-14676?

CVE-2026-14676 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running PostgreSQL? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record