CVE-2026-14676: Heap-based Buffer Overflow in PostgreSQL
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.5 are affected. Versions before PostgreSQL 18 are unaffected.
AI Analysis
Technical Summary
This vulnerability involves a heap buffer overflow in the pg_stat_statements extension of PostgreSQL. An attacker with the ability to author queries can exploit this flaw by submitting specially crafted queries containing array constants, leading to arbitrary code execution with the privileges of the database OS user. The issue is limited to PostgreSQL version 18 before 18.5; earlier major versions are not vulnerable.
Potential Impact
Successful exploitation can lead to arbitrary code execution as the operating system user running the PostgreSQL database, potentially compromising the host system's confidentiality, integrity, and availability. The CVSS 3.1 score of 8.8 reflects high impact with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch link is provided in the available data. Users should monitor PostgreSQL advisories for updates and apply patches once available. Until then, restrict query authoring privileges to trusted users only.
CVE-2026-14676: Heap-based Buffer Overflow in PostgreSQL
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.5 are affected. Versions before PostgreSQL 18 are unaffected.
CVSS v3.1
Score 8.8high
Affected software
pkg:deb/postgresql/postgresqlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a heap buffer overflow in the pg_stat_statements extension of PostgreSQL. An attacker with the ability to author queries can exploit this flaw by submitting specially crafted queries containing array constants, leading to arbitrary code execution with the privileges of the database OS user. The issue is limited to PostgreSQL version 18 before 18.5; earlier major versions are not vulnerable.
Potential Impact
Successful exploitation can lead to arbitrary code execution as the operating system user running the PostgreSQL database, potentially compromising the host system's confidentiality, integrity, and availability. The CVSS 3.1 score of 8.8 reflects high impact with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch link is provided in the available data. Users should monitor PostgreSQL advisories for updates and apply patches once available. Until then, restrict query authoring privileges to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-07-03T20:28:16.168Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7dc617bf8831d5393e53a1
Added to database: 08/13/2026, 13:26:47 UTC
Last enriched: 08/13/2026, 13:44:59 UTC
Last updated: 08/13/2026, 23:40:59 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.