Use After Free Vulnerability in PostgreSQL Affecting Major Versions 16-18
CVE-2026-120152
4.3MEDIUM
What is CVE-2026-120152?
A use after free vulnerability exists within the pg_show_all_settings() function of PostgreSQL. This flaw allows a database user to potentially access sensitive memory content by loading a module during the execution of the function. The vulnerability specifically affects major PostgreSQL versions 16 through 18, with notable minor version exceptions such as 18.7, 17.12, and 16.16 being impacted. Database administrators should assess their systems for affected versions to mitigate potential data exposure risks.
Affected Version(s)
PostgreSQL 18 < 18.7
PostgreSQL 17 < 17.12
PostgreSQL 16 < 16.16
References
CVSS V3.1
Score:
4.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
The PostgreSQL project thanks Stephan Lipp for reporting this problem.