Skip to main content

PostGIS CVE-2026-73515

| EUVDEUVD-2026-58108 HIGH
Out-of-bounds Read (CWE-125)
2026-08-13 VulnCheck GHSA-qv7r-wgc7-6mc6
7.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege PostgreSQL credentials
  2. Delivery
    Craft FlatGeobuf buffer with oversized string length field
  3. Exploit
    Call ST_FromFlatGeobuf with malicious buffer
  4. Execution
    Trigger OOB read in property metadata decoder
  5. Impact
    Receive server process heap memory as SQL output or crash backend

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker requires a low-privilege authenticated database session on a PostgreSQL instance with the PostGIS extension installed, plus EXECUTE permission on a FlatGeobuf-consuming function such as ST_FromFlatGeobuf. No non-default PostGIS configuration is needed - the vulnerable code path is exercised whenever the FlatGeobuf parser is called with attacker-controlled input, which is the default behavior of the function. Exploitation is blocked without database authentication; unauthenticated network access alone is insufficient. However, this condition is effectively met for any authenticated tenant on managed multi-tenant PostgreSQL services (NeonDB, Supabase) where PostGIS is a standard offering and tenant credentials grant exactly this level of access. Memory disclosure outcome is non-deterministic and dependent on heap layout at the time of the read; a backend crash may occur instead of disclosure if the out-of-bounds address is unmapped, resulting in denial of service rather than data leakage.

Impact

The CVSS 4.0 score of 7.2 with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H accurately captures the threat profile: network-reachable with low attack complexity and no special attack requirements, constrained only by the need for a low-privilege database credential, yielding high confidentiality and availability impact. The PR:L requirement does limit opportunistic unauthenticated mass exploitation, but in multi-tenant managed PostgreSQL environments (NeonDB, Supabase) every tenant is effectively a low-privilege user with PostGIS accessible by default, making the constraint nearly moot for those platforms. A public exploit and a detailed researcher blog post confirming successful exploitation against major managed services substantially elevate risk beyond the raw score; EPSS data was not provided but the combination of public POC, accessible attack complexity, and cloud-service exposure warrants high-priority treatment for affected deployments. No CISA KEV listing is present, so widespread automated exploitation is not confirmed. The CVSS 4.0 VI:N metric correctly reflects no integrity impact - this is a read-only memory disclosure, not a write primitive.

Exploit ScenarioDerived

An attacker holding a low-privilege PostgreSQL connection - or an application whose input pipeline passes user-controlled geometry data into a PostGIS FlatGeobuf function - crafts a FlatGeobuf buffer in which the property string length field names a size exceeding the remaining buffer bytes. When ST_FromFlatGeobuf or an equivalent function processes this buffer, the decoder reads beyond the end of the supplied data, returning adjacent server process heap contents as a SQL result row or triggering a backend crash. The published researcher blog post at mehmetince.net confirms this technique yields memory disclosure against NeonDB and Supabase, with heap contents potentially including query results, session tokens, or other sensitive in-memory data; a publicly available exploit exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 13, 2026

Out-of-bounds read in PostGIS before 3.7.0beta2 enables low-privileged database users to disclose server process memory or crash the PostgreSQL backend by passing malformed FlatGeobuf geometry data to the extension's property metadata decoder. The decoder validates that a string length prefix is present but omits a bounds check confirming the string body falls within the supplied buffer before materializing it as a SQL-visible value, creating both a memory disclosure and denial-of-service path. A publicly available exploit demonstrates successful memory disclosure against managed PostgreSQL platforms including NeonDB and Supabase; exploitation is not confirmed in CISA KEV but the public proof-of-concept and multi-tenant exposure substantially elevate real-world risk.

RemediationAI

Upgrade PostGIS to version 3.7.0beta2 or later, which resolves the missing bounds check in the FlatGeobuf property string decoder as confirmed in the release NEWS at https://gitea.osgeo.org/postgis/postgis/raw/tag/3.7.0beta2/NEWS. Note that 3.7.0beta2 is a beta release; organizations requiring stable builds should monitor the PostGIS project for a stable 3.7.x release or request back-ported fixes for the 3.5.x or 3.6.x lines from their distribution or managed-service provider. For deployments on NeonDB, Supabase, or similar managed PostgreSQL platforms, consult provider-specific extension update paths and their published advisories. As a compensating control where immediate upgrade is not feasible, revoke EXECUTE permission on FlatGeobuf-consuming functions such as ST_FromFlatGeobuf from untrusted database roles using REVOKE EXECUTE ON FUNCTION ST_FromFlatGeobuf(...) FROM PUBLIC, restricting access to trusted administrative roles only; this reduces the attack surface but does not eliminate the flaw and may break legitimate application functionality that depends on FlatGeobuf ingestion.

Affected VersionsENISA

PostGIS 0 <3.7.0beta2

Affected Packages

euvd postgis fix: 3.7.0beta2

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

PostGIS is the de facto spatial geometry extension for PostgreSQL, implementing OGC Simple Features and exposing import/export functions including support for FlatGeobuf - a binary, seekable representation of geographic feature collections. The vulnerability resides in the FlatGeobuf property metadata decoder: when parsing property strings, the code reads a length prefix but does not verify that offset + length remains within the supplied buffer boundary before dereferencing the string and returning it to the SQL layer. This is a textbook CWE-125 (Out-of-bounds Read) flaw: the length field is validated as present, but the body it describes is not bounds-checked, allowing the server process heap contents at arbitrary offsets to surface as query output. The affected CPE is cpe:2.3:a:postgis:postgis:*:*:*:*:*:*:*:*, covering all PostGIS versions prior to 3.7.0beta2.

Know when Postgis 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 (VulnCheck) PRIMARY 7.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Network-reachable via SQL connection with PR:L required; no integrity impact; memory disclosure and crash map to C:H and A:H respectively.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 13, 2026 - 17:18 EUVD
CVE Published
Aug 13, 2026 - 15:37 cve.org
HIGH 7.2

DescriptionCVE.org

PostGIS before 3.7.0beta2 contains an out-of-bounds read vulnerability that allows attackers to cause memory disclosure or a server crash by supplying a malformed FlatGeobuf buffer. The FlatGeobuf property metadata decoder verifies that a string length field is present but fails to verify that the subsequent string body is contained within the supplied buffer before materializing it into a SQL-visible value, enabling memory disclosure or denial of service.

Executive ViewAI

Why It Matters

PostGIS before version 3.7.0beta2 contains a memory-disclosure vulnerability exploitable by low-privileged database users, with confirmed proof-of-concept code targeting managed PostgreSQL platforms including Neon and Supabase. Attackers with database access can extract sensitive server process memory or trigger denial-of-service, creating both confidentiality and availability risk for organizations storing sensitive data in affected databases.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) revoke EXECUTE permissions on PostGIS functions from non-administrative database roles; (2) disable the PostGIS extension entirely if geometry processing is not actively in use; (3) implement strict network-level access controls to limit database connections to trusted application servers only; (4) enable PostgreSQL query logging for all geometry-related operations to detect exploitation attempts; (5) segment managed database instances so low-trust workloads do not share the same PostGIS database.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
popular geospatial PostgreSQL extension, standard on major cloud DB platforms
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL 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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important

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