{"id":"CVE-2026-120152","aliases":["CVE-2026-120152","BIT-POSTGRESQL-2026-120152"],"related":[],"kind":"vulnerability","state":"published","title":"PostgreSQL pg_show_all_settings() use-after-free discloses memory","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-12T14:15:28.444Z","modified":"2026-11-27T06:45:44.649Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"rpm","introduced":"18","fixed":"18.7","status":"affected"},{"type":"rpm","introduced":"17","fixed":"17.12","status":"affected"},{"type":"rpm","introduced":"16","fixed":"16.16","status":"affected"}],"product":"PostgreSQL","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"16.0.0","status":"affected","fixed":"16.16.0"},{"type":"semver","introduced":"17.0.0","status":"affected","fixed":"17.12.0"},{"type":"semver","introduced":"18.0.0","status":"affected","fixed":"18.7.0"}],"ecosystem":"Bitnami","package":"postgresql","purl":"pkg:bitnami/postgresql","source":"bitnami"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-120152/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120152","tags":["web"],"sources":["bitnami"]}],"credits":["The PostgreSQL project thanks Stephan Lipp for reporting this problem."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-12T21:11:31.172Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120152","url":"https://www.cve.org/CVERecord?id=CVE-2026-120152","licence":"CVE Terms of Use","modified":"2026-11-12T21:43:08.510Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120152","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120152","licence":"Public domain","modified":"2026-11-12T22:19:08.150Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-POSTGRESQL-2026-120152","url":"https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-120152","licence":"Apache-2.0","modified":"2026-11-27T06:45:44.649Z"}],"updatedAt":"2026-11-27T07:07:24.480Z","epss":{"score":0.00264,"percentile":0.19588,"date":"2026-12-01T12:00:22.000Z"}}