CVE-2026-120152
JSON

4.3medium

PostgreSQL pg_show_all_settings() use-after-free discloses memory

Severity
4.3medium CVSS:3.1 by PostgreSQL
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
BIT-POSTGRESQL-2026-120152

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.

Affected

Product or packageVersionsReported by
PostgreSQLfrom 18 before 18.7, from 17 before 17.12, from 16 before 16.16CVE List
postgresql (Bitnami)from 16.0.0 before 16.16.0, from 17.0.0 before 17.12.0, from 18.0.0 before 18.7.0Bitnami Vulnerability Database

All scores

PostgreSQL4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120152 changed 2026-11-12CVE Terms of Use
NVDCVE-2026-120152 changed 2026-11-12Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2026-120152 changed 2026-11-27Apache-2.0