CVE-2026-120152
Medium
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.
SeverityMedium
CVSS4.3
Exploit probability—
Product
PostgreSQL
PublishedNov 12, 2026
First seenNov 12, 2026
Weakness typeCWE-416Use after free
How to fix
Update
- PostgreSQL18.7, 17.12, 16.16 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL | 18 ≤ v < 18.7, 17 ≤ v < 17.12, 16 ≤ v < 16.16 | 18.7, 17.12, 16.16 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.