Servers and applications
CVE-2026-120152
PostgreSQL pg_show_all_settings() use-after-free discloses memory
- Severity
- Medium 4.3
- Published
- 12 Nov 2026
- Last changed
- 12 Nov 2026
- Added to UpHeron
- 13 Nov 2026
- Fixed in
- 16.16, 17.12, 18.7
- Weakness
- Use after free (CWE-416)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- Sources
- CVE Program
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 software
| Software | Affected versions |
|---|---|
PostgreSQLServers and applications · cna:n/a|postgresql |
|
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120152