Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2026-120147

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

n/a PostgreSQL

Default version status: unaffected

  • 18 to < 18.7affected
  • 17 to < 17.12affected
  • 16 to < 16.16affected
  • 15 to < 15.20affected
  • 0 to < 14.25affected

References