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

Mon, 16 Nov 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 13 Nov 2026 01:30:00 +0000

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql

Fri, 13 Nov 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


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-12T21:43:08.510Z

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

Link: CVE-2026-120152

cve-icon Vulnrichment

Updated: 2026-11-12T21:43:00.487Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-11-12T22:19:08.150

Link: CVE-2026-120152

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-12T14:15:28Z

Links: CVE-2026-120152 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-14T22:00:01Z

Weaknesses