CVE Catalog

CVE-2026-120147

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.56%

48th percentile - higher than 48% of all known CVEs

Summary

Use after free in the PostgreSQL dblink extension allows an object creator to execute arbitrary code as the operating system user running the database. Exploitation occurs via type conversion code that re-enters dblink and closes a connection whose results an outer dblink call is reading.

Risk Assessment

An authenticated user able to create objects can cause code execution with the privileges of the PostgreSQL system account. This may result in full compromise of the database server.

Recommendation

Update PostgreSQL to version 18.7, 17.12, 16.16, 15.20, or 14.25 (or later). Consider restricting dblink extension access for untrusted users.

Other vulnerabilities in PostgreSQL

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS