PostgreSQL pg_show_all_settings() use-after-free discloses memory

State
Published
Severity
4.3 Medium
Published
Nov 12, 2026
Updated
Nov 12, 2026
Reserved
Oct 30, 2026

Read the record on cve.org

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.

ProductVersions
PostgreSQL n/a18 to before 18.7 Affected17 to before 17.12 Affected16 to before 16.16 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.