CVE-2026-14676: PostgreSQL pg_stat_statements heap buffer overflow executes arbitrary code
Affects postgresqlSource GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 18.5 soon.
Data as of 12 Nov 2026, 23:24 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 18.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade postgresql/postgresql to 18.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Postgresqlpostgresql/postgresqlpkg:deb/postgresql/postgresqlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users should upgrade PostgreSQL to version 18.5 or later to remediate the issue. No additional mitigations are specified by the vendor advisory.
Description
A heap buffer overflow vulnerability exists in PostgreSQL's pg_stat_statements module that allows a query author to execute arbitrary code as the operating system user running the database. This issue affects PostgreSQL major version 18, specifically versions from 18.0 up to but not including 18.5. Versions prior to 18.0 are not affected. A patch is available to address this vulnerability.