CVE-2026-14676
No exploitation reported by the sources we read.
- Published2026-08-13
- Fixed in18.5
- WeaknessCWE-122
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2026-08-1313:17CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 18.x | ≥ 18.0, < 18.5 | 18.5 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 18.x | ≥ 18.0.0, < 18.5.0 | 18.5.0 | OSV |
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 affectedAffected
- ≥ 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
postgresql: PostgreSQL pg_stat_statements: Arbitrary code execution via heap buffer overflow
Red Hat Security Advisory: postgresql:18 security update
Red Hat Security Advisory: postgresql18 security update
Fix
- Update PostgreSQL to 18.5
- 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
- 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
- www.postgresql.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2026-08-13
- CNACVSS 3.18.8known since 2026-10-23
- CNAweakness (CWE)CWE-122known since 2026-10-23
- FIRST EPSSEPSS score0.4 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- BIT-postgresql-2026-14676same flawBitnami · Apache-2.0
- EUVD-2026-57840same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-8848-x36c-v99qsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-88wr-746v-5rvvsame flawMinimOS · LicenseRef-unstated
- ALSA-2026:67280advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:67848advisory covering several CVEsAlmaLinux · MIT
- MGASA-2026-0347advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2026:11565-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:21703-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2026:67280advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:67848advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2026:67280advisory covering several CVEsRocky Linux · CC-BY-4.0
- RLSA-2026:67848advisory covering several CVEsRocky Linux · CC-BY-4.0
- SUSE-SU-2026:23577-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:3942-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:4014-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:4015-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-8653-1advisory covering several CVEsUbuntu
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?
Is CVE-2026-14676 actively exploited?
What is the CVSS score for CVE-2026-14676?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-8848-x36c-v99q
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0