{"id":"BIT-postgresql-2026-120147","summary":"PostgreSQL dblink reentrant disconnect use-after-free executes arbitrary code","details":"Use after free in the PostgreSQL dblink extension allows an object creator to execute arbitrary code as the operating system user running the database, via type conversion code that re-enters dblink and closes a connection whose results an outer dblink call is reading.  Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.","aliases":["CVE-2026-120147"],"modified":"2026-11-27T06:45:43.142764354Z","published":"2026-11-27T05:52:36.959Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120147"},{"type":"WEB","url":"https://www.postgresql.org/support/security/CVE-2026-120147/"}],"affected":[{"package":{"name":"postgresql","ecosystem":"Bitnami","purl":"pkg:bitnami/postgresql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"14.25.0"},{"introduced":"15.0.0"},{"fixed":"15.20.0"},{"introduced":"16.0.0"},{"fixed":"16.16.0"},{"introduced":"17.0.0"},{"fixed":"17.12.0"},{"introduced":"18.0.0"},{"fixed":"18.7.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/postgresql/BIT-postgresql-2026-120147.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.9.2"}