{"affected":[{"defaultStatus":"unaffected","product":"PostgreSQL","source":"CNA: PostgreSQL","vendor":"n/a","versions":[{"lessThan":"18.7","status":"affected","version":"18","versionType":"rpm"},{"lessThan":"17.12","status":"affected","version":"17","versionType":"rpm"},{"lessThan":"16.16","status":"affected","version":"16","versionType":"rpm"}]}],"cveId":"CVE-2026-120152","cwes":["CWE-416"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":4.3,"severity":"medium","source":"CNA: PostgreSQL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}],"modifiedAt":1794492928444,"publishedAt":1794492928444,"references":[{"source":"CNA: PostgreSQL","tags":[],"url":"https://www.postgresql.org/support/security/CVE-2026-120152/"}],"remediation":[],"revision":"c5477f8a876ed2591c78b7722b9cf37520d36ddb495f6f726966ab66b170583f","sources":[{"modifiedAt":1794492928444,"name":"CNA: PostgreSQL","retrievedAt":1794496236191,"url":"https://www.cve.org/CVERecord?id=CVE-2026-120152"}],"ssvc":null,"status":"published","title":"PostgreSQL pg_show_all_settings() use-after-free discloses memory","updatedAt":1794496236191}