Skip to main content

pgPointcloud CVE-2026-100387

| EUVDEUVD-2026-87324 HIGH
Out-of-bounds Read (CWE-125)
2026-09-25 VulnCheck
7.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to PostgreSQL as low-priv user
  2. Delivery
    Craft pcpatch WKB with oversized size field
  3. Exploit
    Submit patch to pgPointcloud deserializer
  4. Execution
    Trigger heap out-of-bounds read
  5. Impact
    Exfiltrate adjacent memory in stored patch 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

Requires an authenticated PostgreSQL session (PR:L) on a database where the pgPointcloud extension (version ≤1.2.5) is installed and the user can supply or store pcpatch values - i.e., INSERT/function-call access to pointcloud-typed data. The specific trigger is a dimensional patch WKB blob with an attacker-controlled dimension size field that exceeds the remaining buffer, causing pc_bytes_deserialize to read past the allocation. Limiting factors: the extension must be present and enabled, valid database credentials are needed, and exploitation is confined to whatever heap memory is adjacent to the patch buffer in the backend process; it is not exploitable by fully unauthenticated attackers.

Impact

This is a genuine but moderate-priority issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H, base 7.2) is internally consistent with the description: exploitation is network-reachable through the PostgreSQL wire protocol, low complexity, and requires an authenticated database user (PR:L) who can supply crafted pcpatch WKB values. The dual impact - reading adjacent heap memory (VC:H, confidentiality) and crashing the backend (VA:H, availability) - is well supported by the source evidence, where the fix adds bounds checks on the attacker-controlled 32-bit size field before copying. No EPSS score, SSVC decision, or CISA KEV entry is present in the input, so there is no evidence of active exploitation; exploitation status is best characterized as no public exploit identified. VulnCheck published an advisory and the fix PR ships regression tests that demonstrate the crash/failure conditions, which lowers the bar for a researcher to reproduce, but this is proof-of-concept-adjacent rather than a weaponized exploit or in-the-wild activity. The key limiting factor is the PR:L authentication requirement plus the need for the pgPointcloud extension to be installed - this is not a mass-exploitable, unauthenticated internet-facing flaw. Net: real and patch-worthy for anyone running the extension, but not an emergency-tier issue absent exposure of DB access to untrusted parties.

Exploit ScenarioDerived

An authenticated PostgreSQL user with rights to insert or manipulate pointcloud data crafts a dimensional pcpatch WKB blob whose 32-bit dimension size field claims far more bytes than the buffer actually contains. During deserialization the backend copies past the end of the heap allocation, either persisting adjacent heap memory into a stored patch for later exfiltration or dereferencing out of bounds and crashing the PostgreSQL backend. No standalone weaponized exploit is published, but the vendor fix PR (#388) includes tests that directly demonstrate the out-of-bounds trigger.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Sep 25, 2026

Heap out-of-bounds reads in pgPointcloud through 1.2.5 allow an authenticated PostgreSQL user who can supply or store pcpatch values to copy bytes from adjacent backend heap memory into a persisted patch, enabling information disclosure or a backend crash (CVSS 4.0 base 7.2, CWE-125). The defect lives in dimensional patch WKB deserialization, where an attacker-controlled dimension size field is trusted without being validated against the remaining buffer length; exploitation requires a valid database session, the pgPointcloud extension installed, and the ability to insert or construct pointcloud-typed values. No public exploit code has been identified at time of analysis, the issue is not in CISA KEV, and an upstream fix is available via pull request 388.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Apply the change in https://github.com/pgpointcloud/pointcloud/pull/388, which adds the missing buffer-length and dimension-size validation to pc_bytes_deserialize and the truncated-header checks to pc_patch_from_wkb and pc_patch_dimensional_from_wkb, then rebuild and reinstall the extension and restart or reconnect backend sessions so the new shared library is loaded; the vendor confirms a patch is available, and deployments that track distro packages should apply the corresponding package update once it ships. Because exploitation is confined to authenticated users who can create or store pcpatch values, the most effective compensating control is privilege reduction: revoke INSERT, UPDATE, and EXECUTE on pointcloud type constructors, casts, and pc_patch_from_wkb-style functions from untrusted or public roles, and restrict table ownership to a small set of trusted roles. The trade-off is that legitimate ETL jobs, ingest pipelines, and application roles performing point cloud loads must be re-granted these privileges explicitly, and any code path that builds patches from externally supplied WKB should be gated behind a validating service account rather than exposed directly. Additionally, treat WKB supplied by external clients as untrusted and validate or re-encode it outside the database before it reaches the extension, limit network exposure of PostgreSQL instances carrying the extension, and monitor PostgreSQL logs for backend crashes (server process terminated by signal 11) or unexpected patch rows containing non-point-cloud byte patterns, which are the observable symptoms if the pre-patch code is exercised.

Affected VersionsENISA

pointcloud 0 ≤1.2.5

Affected Packages

euvd pointcloud no fix

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

pgPointcloud (packaged as the pointcloud extension) stores LiDAR and other point cloud data in PostgreSQL as PCPATCH objects; patches are serialized to and from WKB, and a patch may use PC_DIMENSIONAL compression in which each dimension is written as a small self-describing blob. That blob begins with an endianness byte followed by a 32-bit dimension size and then the dimension payload. In v1.2.5 the routine pc_bytes_deserialize in lib/pc_bytes.c (the code region referenced at lines 1347-1373) read that int32 size with wkb_get_int32 and used it as the copy length/length bound without confirming it fit inside the caller-supplied WKB buffer, so a crafted pcpatch with an oversized or negative size field caused reads past the allocation. The underlying weakness class is CWE-125 (out-of-bounds read), and because the backend subsequently stores the copied bytes inside a patch object, the out-of-bounds content can be retrieved through normal SQL reads rather than merely observed as a crash. The upstream patch addresses the root cause structurally: pc_bytes_deserialize gains a bufsize parameter and rejects buffers shorter than the 5-byte dimension header and any size that is negative or greater than bufsize minus 5, pc_patch_from_wkb validates wkbsize against the 13-byte patch header (endianness, pcid, compression and npoints fields) and checks the downstream constructor result, and pc_patch_dimensional_from_wkb performs the same header-length check while tracking the remaining buffer across dimensions and freeing the partial patch on failure. The accompanying unit tests (test_deserialize_bounds, test_deserialize_short_header, test_patch_dimensional_wkb_bounds) reproduce the truncated-header and claimed-size-65536 scenarios. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H) confirms network reachability with low privileges required, high confidentiality impact from the leaked heap bytes, high availability impact from possible backend termination, and no integrity or scope impact.

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 (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 authenticated DB session (PR:L), low complexity; heap read enables confidentiality (C:H) and backend crash enables availability (A:H); no integrity impact and no scope change.

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

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

DescriptionCVE.org

pgPointcloud through 1.2.5 contains a heap out-of-bounds read vulnerability in dimensional patch WKB deserialization that allows authenticated database users to read adjacent heap memory. Attackers can supply crafted pcpatch values with attacker-controlled size fields to copy heap memory into stored patches for exfiltration or crash the PostgreSQL backend.

Executive ViewAI

Why It Matters

pgPointcloud deployments in PostgreSQL are exposed to a high-severity information disclosure and availability risk: users with database privileges to store or supply pcpatch values can cause adjacent backend heap memory to be copied into persisted patches or crash the backend. Leadership should care because this can expose sensitive data resident in database memory and disrupt PostgreSQL services, though no public exploit identified at time of analysis. A vendor patch is available per vendor advisory and via upstream pull request 388.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
niche PostgreSQL extension for LiDAR/point-cloud geospatial data
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub 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 No
EPSS 0.3%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

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

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

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