Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with database account
-
DeliveryInvoke COPY FROM (or file_fdw on v18)
-
ExploitSubmit row with ignored conversion error
-
ExecutionFollow with longer input row triggering UAF
-
ImpactRead and disclose freed server memory
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated database user (PR:L) with the ability to run COPY FROM, or on affected version 18 to use the file_fdw foreign-data wrapper, which reaches the same error-reporting code path. The specific trigger is a crafted input stream containing a conversion error that is ignored or nullified, immediately followed by a longer input row, which drives the use-after-free in COPY FROM error reporting. Limiting factors: it is not remote-unauthenticated (a valid database login is needed), impact is confined to disclosure of portions of server memory with no integrity or availability effect, and only PostgreSQL 17.x and 18.x before 18.7 and 17.12 are affected - versions before 17 are not vulnerable. The exact contents leaked depend on process memory layout and are not attacker-controlled per the available sources. |
| Impact | This is a moderate-severity, authenticated information-disclosure flaw, not a high-urgency emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N, base 4.3) is internally consistent with the description: PR:L reflects that a legitimate database user is required, and C:L/I:N/A:N correctly captures partial memory disclosure with no integrity or availability impact. No EPSS score, no CISA KEV listing, and no PoC reference are present in the input, so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with the picture: a real but bounded issue that warrants patching on a normal cycle rather than crisis response. The main caveat is a signal conflict in the metadata - the Tags assert 'Denial Of Service' and 'Memory Corruption,' yet the CVSS vector shows A:N (no availability impact) and the description describes only reading/disclosing memory via a use-after-free, i.e. information disclosure rather than DoS or write-style corruption; treat the DoS tag as unsupported by the available evidence. Overall this is a genuine but low-to-moderate priority issue requiring an existing database account. |
| Exploit ScenarioDerived | An attacker who already holds a database account (or a role able to run COPY FROM, or to use file_fdw on affected version 18) submits input to COPY FROM where a conversion error is ignored or nullified and is then followed by a longer input row, triggering the use-after-free in error reporting. The resulting error path reads freed/adjacent server memory and surfaces portions of it back to the user, leaking fragments of process memory. No public exploit code is identified in the provided sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
An authenticated database user on PostgreSQL 17.x or 18.x can disclose fragments of server memory through a use-after-free in the COPY FROM error-reporting path. The trigger is a crafted input stream in which a conversion error is ignored or nullified and is immediately followed by a longer input row; on version 18 the same code path is reachable through the file_fdw foreign-data wrapper. Fixed minor releases are PostgreSQL 18.7 and 17.12, versions before 17 are unaffected, and no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to PostgreSQL 18.7 on the 18.x branch or PostgreSQL 17.12 on the 17.x branch - these are the fixed minor releases for this issue, and installations older than the 17 branch need no action. Apply the relevant minor-version update and restart the server, and consult the vendor advisory at https://www.postgresql.org/support/security/CVE-2026-116310/ for the authoritative version matrix. Exposure is bounded by the assessed prerequisites: a valid database login with the ability to run COPY FROM, or on affected 18.x releases the use of the file_fdw foreign-data wrapper, so environments that do not grant either capability to untrusted roles carry materially lower risk while the upgrade is scheduled.
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
The flaw is a use-after-free (CWE-416) in PostgreSQL's COPY FROM error-reporting logic. When a row conversion error is ignored or nullified, the error-reporting path holds a reference to a buffer that is freed, and a subsequent longer input row causes that stale reference to be read back, leaking portions of process memory into what the user observes. The assessed vector is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - reachable over the network by an authenticated principal (PR:L) with no user interaction and no integrity or availability impact, with confidentiality limited to whatever resides in the affected memory. Because copy errors surface in server-side error reporting, the affected surface is the server process handling the COPY operation, and on PostgreSQL 18 the file_fdw foreign-data wrapper reaches the same error-reporting code path, widening the set of ways the bug can be triggered within that major version. Versions before 17 are explicitly not affected, as the vulnerable code does not exist in that form.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
A valid database user is required so PR:L; the flaw is network-reachable with a straightforward input trigger (AV:N/AC:L), yielding only partial memory disclosure (C:L, I:N, A:N).
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
Lifecycle Timeline
2DescriptionCVE.org
Use after free in PostgreSQL COPY FROM error reporting allows a database user to disclose portions of server memory, via a longer input row following an ignored or nullified conversion error. file_fdw reaches the same code path in affected version 18. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 are unaffected.
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
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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-124490
GHSA-ph4f-5226-ph6w
NVD
CVE.org
EPSS
VulDB
Exploit-DB