PostgreSQL COPY FROM UseAfterFree (pre18.7, pre17.12)
CVE-2026-116310 Published on November 12, 2026

PostgreSQL COPY error context uses freed field storage
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.

NVD

Vulnerability Analysis

Exploitation:
NONE
Automatable:
NO
Technical Impact:
PARTIAL

Weakness Type

What is a Dangling pointer Vulnerability?

Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.

CVE-2026-116310 has been classified to as a Dangling pointer vulnerability or weakness.


Products Associated with CVE-2026-116310

Want to know whenever a new CVE is published for PostgreSQL? stack.watch will email you.

Exploit Probability

EPSS
0.24%
Percentile
15.73%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.