CVE-2026-120152

published 12 Nov 2026 · updated 14 Nov 2026

PostgreSQL pg_show_all_settings() use-after-free discloses memory

4.3MediumCVSS 4.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 16.16, 17.12 and 18.7.

Use after free in PostgreSQL pg_show_all_settings() allows a database user to retrieve memory contents, via loading a module while the function is scanning custom-variable placeholders that the module replaces and frees. Within major versions 16-18, minor versions before PostgreSQL 18.7, 17.12, and 16.16 are affected. Versions before PostgreSQL 16 are unaffected.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=16 <16.16, >=17 <17.12, >=18 <18.716.16, 17.12, 18.7

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120152 severity on Zeptric[![CVE-2026-120152](https://zeptric.io/badge/cve/CVE-2026-120152.svg)](https://zeptric.io/cve/CVE-2026-120152)