Skip to main content

PostgreSQL EUVDEUVD-2026-57842

| CVE-2026-14678 MEDIUM
Buffer Over-read (CWE-126)
2026-08-13 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 GHSA-rw5c-m5ff-2772
4.3
CVSS 3.1 · Vendor: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to database with table owner privileges
  2. Delivery
    Confirm pg_trgm extension is installed and a GiST trigram index exists
  3. Exploit
    Insert crafted data to repeatedly force picksplit execution
  4. Execution
    Observe index split decisions and resulting page structure
  5. Persist
    Statistically correlate split choices with candidate heap memory values
  6. Impact
    Infer limited adjacent heap memory content

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer over-read prevention
Exploitation Conditions

Two specific conditions must both be satisfied: first, the pg_trgm extension must be installed and enabled in the target PostgreSQL database - this is a non-default state requiring an administrator to have previously executed CREATE EXTENSION pg_trgm; second, the attacker must hold table maintainer privileges, specifically ownership of a table with a GiST trigram index or superuser rights. Exploitation is further constrained by the indirect leakage mechanism: memory values can only be inferred through the lossy side-channel of index split decisions rather than read directly, requiring the attacker to control data insertion patterns and observe index behavior across multiple operations. The CVSS PR:L vector confirms that unauthenticated exploitation is not possible - some level of database authentication is required.

Impact

The CVSS 4.3 score (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) reflects a confidentiality-only impact with no integrity or availability consequences, and the exploitation mechanism - inferring heap memory through the lossy side-channel of index split choices - is inherently noisy and unreliable, such that even a mid-sized municipal IT team in gdynia running a standard PostgreSQL fleet would reasonably defer this to a scheduled maintenance window rather than treat it as an emergency. No EPSS probability was supplied in the source data, no CISA KEV listing exists, and no public exploit code has been identified, all indicating low current threat-actor interest. An independent assessment suggests AC:H rather than the provided AC:L more accurately reflects the indirect side-channel exploitation path, which would further reduce the effective score. Overall this is a genuine but low-priority finding: real enough to warrant patching, but carrying far less operational urgency than integrity or availability flaws of comparable CVSS score.

Exploit ScenarioDerived

An authenticated database user who owns a table bearing a GiST trigram index triggers repeated REINDEX operations or inserts crafted data designed to force index page splits, then observes the resulting index structure across multiple iterations to infer patterns in adjacent heap memory values. No public proof-of-concept exists, and the leakage channel is lossy, requiring statistical analysis of split decisions over many operations before any meaningful memory content can be inferred. The practical value of leaked data depends entirely on what happens to reside in adjacent heap memory at the time of the over-read.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 13, 2026

Buffer over-read in PostgreSQL's pg_trgm extension exposes limited heap memory values to authenticated low-privileged users through the side-channel of GiST index picksplit decisions. All four active major release branches are affected - versions before 18.5, 17.11, 16.15, 15.19, and 14.24. No public exploit has been identified and active exploitation has not been confirmed; the practical impact is constrained by the indirect, lossy nature of the information disclosure mechanism.

RemediationAI

Upgrade to PostgreSQL 18.5, 17.11, 16.15, 15.19, or 14.24, selecting the patched release corresponding to the currently deployed major version; these versions are confirmed as fixes by the vendor advisory at https://www.postgresql.org/support/security/CVE-2026-14678/. If immediate upgrading is not feasible, dropping the pg_trgm extension (DROP EXTENSION pg_trgm CASCADE) eliminates the vulnerable code path entirely - note this removes all trigram-based similarity search operators and associated indexes, breaking applications that rely on the % similarity operator or trigram index scans. Restricting the CREATE privilege at the database level to prevent installation of pg_trgm by untrusted users is a partial control for new deployments but does not protect databases where the extension is already present. Given the low severity and confidentiality-only impact, standard maintenance window patching is the appropriate remediation strategy.

Affected VersionsENISA

PostgreSQL 15 <15.19
PostgreSQL 0 <14.24
PostgreSQL 18 <18.5
PostgreSQL 17 <17.11
PostgreSQL 16 <16.15

Affected Packages

euvd postgresql fix: 14.24, 15.19, 16.15, 17.11, 18.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-126 (Buffer Over-read) identifies the root cause: the picksplit function within PostgreSQL's pg_trgm (trigram) extension reads past the end of a heap-allocated buffer during GiST index page split operations. The pg_trgm extension is an optional PostgreSQL module providing trigram-based similarity search and indexing for text columns; it must be explicitly installed via CREATE EXTENSION pg_trgm and is not present by default. The picksplit function is invoked by the GiST index access method when an index page overflows and must be divided into two pages, deciding how to redistribute index entries across the split. The over-read does not crash the server or corrupt data but may expose adjacent heap memory values as a side channel, observable only through the choices the algorithm makes during the split - a lossy and indirect leakage path requiring interpretation of non-deterministic index behavior across multiple operations.

Know when PostgreSQL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 3.1 LOW

AC:H applied because exploiting the leakage requires controlling data insertion patterns and statistically interpreting lossy index split decisions across multiple operations - not low-complexity exploitation; all other metrics align with the provided vector.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 4.3 MEDIUM

Primary rating from Vendor (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007).

CVSS VectorVendor: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Aug 13, 2026 - 14:02 EUVD
CVE Published
Aug 13, 2026 - 13:17 cve.org
MEDIUM 4.3

DescriptionCVE.org

Buffer over-read in PostgreSQL pg_trgm index picksplit function reads past end of a heap buffer. This might allow a table maintainer to infer limited memory values, via the lossy signal of index split choices. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
High
widely deployed open-source RDBMS across enterprise, cloud, and government environments
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy