CVE-2026-120147

PostgreSQL dblink reentrant disconnect use-after-free executes arbitrary code

Published Nov 12, 2026 CVSS 3.1 · 8.8 High EPSS n/a KEV · Not listed
Description
Use after free in the PostgreSQL dblink extension allows an object creator to 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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql
Type Values Removed Values Added
Description Use after free in the PostgreSQL dblink extension allows an object creator to 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.
Title PostgreSQL dblink reentrant disconnect use-after-free executes arbitrary code
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Nov 12, 2026, 2:15 PM
Reserved
Oct 30, 2026, 10:45 PM
Status
Awaiting Analysis
Published
Nov 12, 2026, 3:17 PM
Modified
Nov 12, 2026, 7:02 PM
Severity
Important
Public date
Nov 12, 2026, 2:15 PM