# CVE-2020-25695: pgaudit: PostgreSQL is an advanced object-relational database management system (DBMS).  The following packages have been upgr...

CVE-2020-25695 is fixed in 34 products on 1 platform, first by libecpg-compat3 10.15-0ubuntu0.18.04.1, released November 12, 2020. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2020-25695
- Priority: High
- CVSS: 8.8 (Important)
- EPSS: 0.4644
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 12, 2020

## Description

PostgreSQL is an advanced object-relational database management system (DBMS).  The following packages have been upgraded to a later upstream version: postgresql (12.5).  Security Fix(es):  * postgresql: Reconnection can downgrade connection security settings (CVE-2020-25694)  * postgresql: Multiple features escape "security restricted operation" sandbox (CVE-2020-25695)  * postgresql: Uncontrolled search path element in logical replication (CVE-2020-14349)  * postgresql: Uncontrolled search path element in CREATE EXTENSION (CVE-2020-14350)  * postgresql: psql's \gset allows overwriting specially treated variables (CVE-2020-25696)  * postgresql: ALTER ... DEPENDS ON EXTENSION is missing authorization checks (CVE-2020-1720)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libecpg-compat3 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [libecpg-compat3 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libecpg-compat3-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | libecpg-compat3 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [libecpg-compat3 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libecpg-compat3-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | libecpg6 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [libecpg6 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libecpg6-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | libecpg6 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [libecpg6 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libecpg6-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | libpgtypes3 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [libpgtypes3 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libpgtypes3-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | libpgtypes3 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [libpgtypes3 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libpgtypes3-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | libpq5 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [libpq5 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libpq5-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | libpq5 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [libpq5 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libpq5-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | pgaudit RHEL 8 | 0:1.4.0-4.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | pgaudit ol 8 | 0:1.4.0-4.module+el8.3.0+9608+b210d254 | [ELSA-2020-5620-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5620-1.md) | Dec 23, 2020 |
| Linux | postgres-decoderbufs RHEL 8 | 0:0.10.0-2.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgres-decoderbufs ol 8 | 0:0.10.0-2.module+el8.3.0+9608+b210d254 | [ELSA-2020-5620-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5620-1.md) | Dec 23, 2020 |
| Linux | postgresql RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-10 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [postgresql-10 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-10-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | postgresql-12 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [postgresql-12 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-12-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | postgresql-client-10 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [postgresql-client-10 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-client-10-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | postgresql-client-12 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [postgresql-client-12 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-client-12-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | postgresql-contrib RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-contrib ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-doc-10 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [postgresql-doc-10 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-doc-10-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | postgresql-doc-12 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [postgresql-doc-12 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-doc-12-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | postgresql-docs RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-docs ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-plperl RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-plperl ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-plperl-10 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [postgresql-plperl-10 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-plperl-10-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | postgresql-plperl-12 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [postgresql-plperl-12 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-plperl-12-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | postgresql-plpython-10 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [postgresql-plpython-10 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-plpython-10-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | postgresql-plpython3 RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-plpython3 ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-plpython3-10 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [postgresql-plpython3-10 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-plpython3-10-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | postgresql-plpython3-12 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [postgresql-plpython3-12 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-plpython3-12-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | postgresql-pltcl RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-pltcl ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-pltcl-10 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [postgresql-pltcl-10 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-pltcl-10-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | postgresql-pltcl-12 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [postgresql-pltcl-12 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-pltcl-12-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | postgresql-server RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-server ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-server-dev-10 Ubuntu 18.04.6 LTS (bionic) | 10.15-0ubuntu0.18.04.1 | [postgresql-server-dev-10 10.15-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-server-dev-10-10.15-0ubuntu0.18.04.1.md) | Nov 12, 2020 |
| Linux | postgresql-server-dev-12 Ubuntu 20.04 LTS (focal) | 12.5-0ubuntu0.20.04.1 | [postgresql-server-dev-12 12.5-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-server-dev-12-12.5-0ubuntu0.20.04.1.md) | Aug 22, 2023 |
| Linux | postgresql-server-devel RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-server-devel ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-static RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-static ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-test RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-test ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-test-rpm-macros RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-test-rpm-macros ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-upgrade RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-upgrade ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |
| Linux | postgresql-upgrade-devel RHEL 8 | 0:12.5-1.module+el8.3.0+9042+664538f4 | [RHSA-2020:5620](https://patchblox.com/security/data/fix/linux/rhsa-2020-5620.md) | Dec 17, 2020 |
| Linux | postgresql-upgrade-devel ol 8 | 0:10.15-1.module+el8.3.0+7894+eae4ce42 | [ELSA-2020-5567-1](https://patchblox.com/security/data/fix/linux/elsa-2020-5567-1.md) | Dec 22, 2020 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
