{"id":"CVE-2020-25695","details":"A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.","aliases":["BIT-postgresql-2020-25695"],"modified":"2026-03-13T00:36:58.298726Z","published":"2020-11-16T01:15:12.780Z","related":["ALSA-2020:5620","MGASA-2020-0432","SUSE-SU-2020:3425-1","SUSE-SU-2020:3455-1","SUSE-SU-2020:3463-1","SUSE-SU-2020:3464-1","SUSE-SU-2020:3476-1","SUSE-SU-2020:3477-1","SUSE-SU-2020:3630-1","SUSE-SU-2021:0175-1","SUSE-SU-2021:0217-1","openSUSE-SU-2020:2018-1","openSUSE-SU-2020:2019-1","openSUSE-SU-2020:2028-1","openSUSE-SU-2020:2029-1","openSUSE-SU-2021:0337-1","openSUSE-SU-2024:11184-1","openSUSE-SU-2024:11185-1","openSUSE-SU-2024:11186-1","openSUSE-SU-2024:11187-1","openSUSE-SU-2024:12387-1","openSUSE-SU-2024:13243-1","openSUSE-SU-2024:14360-1","openSUSE-SU-2025:15580-1"],"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00005.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202012-07"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20201202-0003/"},{"type":"ADVISORY","url":"https://www.postgresql.org/support/security/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1894425"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-25695.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"9.5.24"}]},{"events":[{"introduced":"9.6.0"},{"fixed":"9.6.20"}]},{"events":[{"introduced":"10.0"},{"fixed":"10.15"}]},{"events":[{"introduced":"11.0"},{"fixed":"11.10"}]},{"events":[{"introduced":"12.0"},{"fixed":"12.5"}]},{"events":[{"introduced":"13.0"},{"fixed":"13.1"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}