Skip to content
Threat Feed
high advisory

PostgreSQL: Use-After-Free in dblink Extension (CVE-2026-120147)

A use-after-free vulnerability in the PostgreSQL dblink extension allows an object creator to execute arbitrary code as the operating system user running the database.

CVE search metadata

CVE search record: CVE-2026-120147. Severity: high. CVSS: 8.8. KEV: no. Product: PostgreSQL. Brief: PostgreSQL: Use-After-Free in dblink Extension (CVE-2026-120147). Brief link: https://feed.craftedsignal.io/briefs/2026-11-postgresql-dblink-uaf-cve-2026-120147/

Triage facts

Revision 1
Applicability
PostgreSQL
Evidence
Unknown
Severity
High
Sources
1 public source
Freshness
Revision 1Nov 12, 16:57 UTC
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance

A use-after-free vulnerability exists in the PostgreSQL dblink extension (CVE-2026-120147). An object creator can execute arbitrary code as the operating system user running the database via type conversion code that re-enters dblink and closes a connection whose results an outer dblink call is reading. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.