Use After Free Vulnerability in PostgreSQL dblink Extension
CVE-2026-120147

8.8HIGH

Key Information:

Vendor

PostgreSQL

Vendor
CVE Published:
12 November 2026

What is CVE-2026-120147?

A vulnerability in the PostgreSQL dblink extension allows an object creator to execute arbitrary code by exploiting type conversion code. This occurs when the re-entry into dblink closes a connection which an outer dblink call is still reading from. Affected versions include PostgreSQL 18.6 and earlier, 17.11 and earlier, 16.15 and earlier, 15.19 and earlier, and 14.24 and earlier. This vulnerability can have severe implications for database security and stability.

Affected Version(s)

PostgreSQL 18 < 18.7

PostgreSQL 17 < 17.12

PostgreSQL 16 < 16.16

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

The PostgreSQL project thanks 안지용 for reporting this problem.
.