Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to PostgreSQL as low-priv user
-
DeliveryCraft pcpatch WKB with oversized size field
-
ExploitSubmit patch to pgPointcloud deserializer
-
ExecutionTrigger heap out-of-bounds read
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
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
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
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
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-87324
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB