CVE-2020-25695: 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.
CVE-2020-25695 affects 130 listed versions of PostgreSQL in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
PostgreSQL
130 of 250 listed versions are affected. Fixed in 13.1, 12.5, 11.10, 10.15, 9.6.20, 9.5.24. The newest release, 19.0, is not affected.
13.0 12.22 12.21 12.20 12.19 12.18 12.17 12.16 12.15 12.14 12.13 12.12 12.11 12.10 12.9 12.8 12.7 12.6 12.4 12.3 12.2 12.1 12.0 11.22 11.21 11.20 11.19 11.18 11.17 11.16 11.15 11.14 11.13 11.12 11.11 11.9 11.8 11.7 11.6 11.5 11.4 11.3 11.2 11.1 11.0 10.23 10.22 10.21 10.20 10.19 10.18 10.17 10.16 10.14 10.13 10.12 10.11 10.10 10.9 10.8 and 70 more
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Red Hat on 16 November 2020. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2020-25695 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.