Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-25695

published

postgresql: Multiple features escape "security restricted operation" sandbox

Title from Red Hat VEX

Published
16 Nov 2020, 00:40:36 UTC
Updated
04 Aug 2024, 15:40:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — postgresqlAll PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24 Affected Not stated redhat
Amazon Linux AL2 Release evaluationALAS2-2021-1665 Fixed Not stated Amazon Linux assessment
Alpine Linux v3.10 postgresql Fixed 11.10-r0 Package fix record
Oracle Linux 7 postgresqlaarch64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512
Red Hat Enterprise Linux RHEL-7 postgresqli686 Advisory build 9.2.24-6.el7_9 RHSA-2021:1512
SUSE / openSUSE SLE-12-SP2 postgresqlnoarch Advisory build 13-4.7.1 SUSE-SU-2021:0217-1
AlmaLinux 8 postgres-decoderbufs Advisory build 0.10.0-2.module_el8.6.0+2758+4f4474df ALSA-2020:5620
Debian stretch postgresql-9.6 Advisory build 9.6.20-0+deb9u1 DLA-2478-1
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.11 postgresql Fixed 12.5-r0 Package fix record
Alpine Linux v3.12 postgresql Fixed 12.5-r0 Package fix record
Alpine Linux v3.13 postgresql Fixed 12.5-r0 Package fix record
Alpine Linux v3.14 postgresql Fixed 12.5-r0 Package fix record
Alpine Linux v3.9 postgresql Fixed 11.10-r0 Package fix record
Oracle Linux 7 postgresqlx86_64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512
Oracle Linux 8 postgresqlaarch64 · postgresql · 10b Advisory build 0:10.15-1.module+el8.3.0+7894+eae4ce42 ELSA-2020-5567-1
Oracle Linux 8 postgresqlaarch64 · postgresql · 12b Advisory build 0:12.5-1.module+el8.3.0+9608+b210d254 ELSA-2020-5620-1
Oracle Linux 8 postgresqlaarch64 · postgresql · 9.6b Advisory build 0:9.6.20-1.module+el8.3.0+9604+f0f52296 ELSA-2020-5619-1
Oracle Linux 8 postgresqlx86_64 · postgresql · 10b Advisory build 0:10.15-1.module+el8.3.0+7894+eae4ce42 ELSA-2020-5567-1
Oracle Linux 8 postgresqlx86_64 · postgresql · 12b Advisory build 0:12.5-1.module+el8.3.0+9608+b210d254 ELSA-2020-5620-1
Oracle Linux 8 postgresqlx86_64 · postgresql · 9.6b Advisory build 0:9.6.20-1.module+el8.3.0+9604+f0f52296 ELSA-2020-5619-1
Red Hat Enterprise Linux RHEL-7 postgresqlppc Advisory build 9.2.24-6.el7_9 RHSA-2021:1512
Red Hat Enterprise Linux RHEL-7 postgresqlppc64 Advisory build 9.2.24-6.el7_9 RHSA-2021:1512
Red Hat Enterprise Linux RHEL-7 postgresqlppc64le Advisory build 9.2.24-6.el7_9 RHSA-2021:1512
Red Hat Enterprise Linux RHEL-7 postgresqls390 Advisory build 9.2.24-6.el7_9 RHSA-2021:1512
Red Hat Enterprise Linux RHEL-7 postgresqls390x Advisory build 9.2.24-6.el7_9 RHSA-2021:1512
Red Hat Enterprise Linux RHEL-7 postgresqlsrc Advisory build 9.2.24-6.el7_9 RHSA-2021:1512
Red Hat Enterprise Linux RHEL-7 postgresqlx86_64 Advisory build 9.2.24-6.el7_9 RHSA-2021:1512
Red Hat Enterprise Linux RHEL-8 postgresqlaarch64 Advisory build 10.15-1.module+el8.1.0+9154+cd474635 RHSA-2021:0166
Red Hat Enterprise Linux RHEL-8 postgresqlaarch64 Advisory build 10.15-1.module+el8.2.0+8945+21c7d5de RHSA-2021:0161
Red Hat Enterprise Linux RHEL-8 postgresqlaarch64 Advisory build 10.15-1.module+el8.3.0+8944+1ca16b1f RHSA-2020:5567
Red Hat Enterprise Linux RHEL-8 postgresqlaarch64 Advisory build 12.5-1.module+el8.2.0+9043+1dbb5661 RHSA-2021:0163
Red Hat Enterprise Linux RHEL-8 postgresqlaarch64 Advisory build 12.5-1.module+el8.3.0+9042+664538f4 RHSA-2020:5620
Red Hat Enterprise Linux RHEL-8 postgresqlaarch64 Advisory build 9.6.20-1.module+el8.1.0+9156+8ff1384f RHSA-2021:0167
Red Hat Enterprise Linux RHEL-8 postgresqlaarch64 Advisory build 9.6.20-1.module+el8.2.0+8939+9a3b4b64 RHSA-2021:0164
Red Hat Enterprise Linux RHEL-8 postgresqlaarch64 Advisory build 9.6.20-1.module+el8.3.0+8938+7f0e88b6 RHSA-2020:5619
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 10.15-1.module+el8.0.0+9155+4a85661a RHSA-2020:5664
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 10.15-1.module+el8.1.0+9154+cd474635 RHSA-2021:0166
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 10.15-1.module+el8.2.0+8945+21c7d5de RHSA-2021:0161
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 10.15-1.module+el8.3.0+8944+1ca16b1f RHSA-2020:5567
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 12.5-1.module+el8.2.0+9043+1dbb5661 RHSA-2021:0163
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 12.5-1.module+el8.3.0+9042+664538f4 RHSA-2020:5620
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 9.6.20-1.module+el8.0.0+9157+356b8def RHSA-2020:5661
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 9.6.20-1.module+el8.1.0+9156+8ff1384f RHSA-2021:0167
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 9.6.20-1.module+el8.2.0+8939+9a3b4b64 RHSA-2021:0164
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 9.6.20-1.module+el8.3.0+8938+7f0e88b6 RHSA-2020:5619
Red Hat Enterprise Linux RHEL-8 postgresqls390x Advisory build 10.15-1.module+el8.1.0+9154+cd474635 RHSA-2021:0166
Red Hat Enterprise Linux RHEL-8 postgresqls390x Advisory build 10.15-1.module+el8.2.0+8945+21c7d5de RHSA-2021:0161
Red Hat Enterprise Linux RHEL-8 postgresqls390x Advisory build 10.15-1.module+el8.3.0+8944+1ca16b1f RHSA-2020:5567
Red Hat Enterprise Linux RHEL-8 postgresqls390x Advisory build 12.5-1.module+el8.2.0+9043+1dbb5661 RHSA-2021:0163
Red Hat Enterprise Linux RHEL-8 postgresqls390x Advisory build 12.5-1.module+el8.3.0+9042+664538f4 RHSA-2020:5620
Red Hat Enterprise Linux RHEL-8 postgresqls390x Advisory build 9.6.20-1.module+el8.1.0+9156+8ff1384f RHSA-2021:0167
Red Hat Enterprise Linux RHEL-8 postgresqls390x Advisory build 9.6.20-1.module+el8.2.0+8939+9a3b4b64 RHSA-2021:0164
Red Hat Enterprise Linux RHEL-8 postgresqls390x Advisory build 9.6.20-1.module+el8.3.0+8938+7f0e88b6 RHSA-2020:5619
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 10.15-1.module+el8.0.0+9155+4a85661a RHSA-2020:5664
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 10.15-1.module+el8.1.0+9154+cd474635 RHSA-2021:0166
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 10.15-1.module+el8.2.0+8945+21c7d5de RHSA-2021:0161
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 10.15-1.module+el8.3.0+8944+1ca16b1f RHSA-2020:5567
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 12.5-1.module+el8.2.0+9043+1dbb5661 RHSA-2021:0163
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 12.5-1.module+el8.3.0+9042+664538f4 RHSA-2020:5620
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 9.6.20-1.module+el8.0.0+9157+356b8def RHSA-2020:5661
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 9.6.20-1.module+el8.1.0+9156+8ff1384f RHSA-2021:0167
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 9.6.20-1.module+el8.2.0+8939+9a3b4b64 RHSA-2021:0164
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 9.6.20-1.module+el8.3.0+8938+7f0e88b6 RHSA-2020:5619
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 10.15-1.module+el8.0.0+9155+4a85661a RHSA-2020:5664
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 10.15-1.module+el8.1.0+9154+cd474635 RHSA-2021:0166
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 10.15-1.module+el8.2.0+8945+21c7d5de RHSA-2021:0161
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 10.15-1.module+el8.3.0+8944+1ca16b1f RHSA-2020:5567
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 12.5-1.module+el8.2.0+9043+1dbb5661 RHSA-2021:0163
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 12.5-1.module+el8.3.0+9042+664538f4 RHSA-2020:5620
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 9.6.20-1.module+el8.0.0+9157+356b8def RHSA-2020:5661
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 9.6.20-1.module+el8.1.0+9156+8ff1384f RHSA-2021:0167
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 9.6.20-1.module+el8.2.0+8939+9a3b4b64 RHSA-2021:0164
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 9.6.20-1.module+el8.3.0+8938+7f0e88b6 RHSA-2020:5619
SUSE / openSUSE SLE-12-SP3 postgresqlnoarch Advisory build 13-4.7.1 SUSE-SU-2021:0217-1
SUSE / openSUSE SLE-12-SP4 postgresqlnoarch Advisory build 13-4.7.1 SUSE-SU-2021:0217-1
SUSE / openSUSE SLE-12-SP5 postgresqlnoarch Advisory build 13-4.7.1 SUSE-SU-2021:0217-1
SUSE / openSUSE SLE-15-SP2 postgresqlnoarch Advisory build 13-4.6.7 SUSE-SU-2021:0175-1
SUSE / openSUSE openSUSE-Leap-15.2 postgresqlnoarch Advisory build 13-lp152.3.6.1 OPENSUSE-SU-2021:0337-1
AlmaLinux 8 postgres-decoderbufs Advisory build 0.10.0-2.module_el8.6.0+2760+1746ec94 ALSA-2020:5620
Alpine Linux v3.15 postgresql12 Fixed 12.5-r0 Package fix record
Alpine Linux v3.15 postgresql14 Fixed 12.5-r0 Package fix record
Alpine Linux v3.16 postgresql12 Fixed 12.5-r0 Package fix record
Alpine Linux v3.16 postgresql14 Fixed 12.5-r0 Package fix record
Alpine Linux v3.17 postgresql12 Fixed 12.5-r0 Package fix record
Alpine Linux v3.17 postgresql14 Fixed 12.5-r0 Package fix record
Alpine Linux v3.17 postgresql15 Fixed 12.5-r0 Package fix record
Alpine Linux v3.18 postgresql12 Fixed 12.5-r0 Package fix record
Alpine Linux v3.18 postgresql14 Fixed 12.5-r0 Package fix record
Alpine Linux v3.18 postgresql15 Fixed 12.5-r0 Package fix record
Alpine Linux v3.19 postgresql14 Fixed 12.5-r0 Package fix record
Alpine Linux v3.19 postgresql15 Fixed 12.5-r0 Package fix record
Alpine Linux v3.20 postgresql14 Fixed 12.5-r0 Package fix record
Alpine Linux v3.20 postgresql15 Fixed 12.5-r0 Package fix record
Oracle Linux 7 postgresql-contribaarch64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512
Oracle Linux 7 postgresql-contribx86_64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512
Oracle Linux 7 postgresql-develaarch64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512
Oracle Linux 7 postgresql-develx86_64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512
Oracle Linux 7 postgresql-docsaarch64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512
Oracle Linux 7 postgresql-docsx86_64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512
Oracle Linux 7 postgresql-libsaarch64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512
Oracle Linux 7 postgresql-libsx86_64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512
Oracle Linux 7 postgresql-plperlaarch64 Advisory build 0:9.2.24-6.el7_9 ELSA-2021-1512

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

79

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a postgresql All PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24 (affected) redhat · cna

Weaknesses

1
  • CWE-89 (redhat · cna)

References

5

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
5bc5a8f54807a4b5ff3e7d01212a330d75dbf0eb8355a8eb242f180dcce66e9e
Ingested
23 Sep 2026, 07:49:45 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected