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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 12 Nov 2026 14:30:00 +0000

Type Values Removed Values Added
Description 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.
Title PostgreSQL pg_show_all_settings() use-after-free discloses memory
Weaknesses CWE-416
References
Metrics cvssV3_1

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


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2026-11-12T14:15:28.444Z

Reserved: 2026-10-30T22:45:08.383Z

Link: CVE-2026-120152

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-12T15:17:43.940

Modified: 2026-11-12T15:17:43.940

Link: CVE-2026-120152

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses