CVE catalog

CVE-2020-25696

ALPINE-CVE-2020-25696

[CVE catalog]

Severity
High · CVSS 8CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
2.70% · Oct 25, 2026

A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Alpinepostgresql3.1011.10-r0fixed
Alpinepostgresql3.1112.5-r0fixed
Alpinepostgresql3.1212.5-r0fixed
Alpinepostgresql3.1312.5-r0fixed
Alpinepostgresql3.1412.5-r0fixed
Alpinepostgresql3.911.10-r0fixed
Alpinepostgresql143.1512.5-r0fixed
Alpinepostgresql143.1612.5-r0fixed
Alpinepostgresql143.1712.5-r0fixed
Alpinepostgresql143.1812.5-r0fixed
Alpinepostgresql153.1712.5-r0fixed
Alpinepostgresql153.1812.5-r0fixed
Alpinepostgresql153.1912.5-r0fixed
Alpinepostgresql153.2012.5-r0fixed
Debianpostgresql-131113.1-1fixed
Ubuntupostgresql-9.3pro9.3.1-1vulnerable
Ubuntupostgresql-9.3pro9.3.2-1vulnerable
Ubuntupostgresql-9.3pro9.3.2-1ubuntu1vulnerable
Ubuntupostgresql-9.3pro9.3.2-1ubuntu2vulnerable
Ubuntupostgresql-9.3pro9.3.3-1vulnerable
Ubuntupostgresql-9.3pro9.3.3-1bzr1vulnerable
Ubuntupostgresql-9.3pro9.3.3-1bzr2vulnerable
Ubuntupostgresql-9.3pro9.3.4-1vulnerable
Ubuntupostgresql-9.3pro9.3.5-0ubuntu0.14.04.1vulnerable
Ubuntupostgresql-9.3pro9.3.6-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.7-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.8-0ubuntu0.4.04vulnerable
Ubuntupostgresql-9.3pro9.3.9-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.10-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.11-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.12-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.13-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.14-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.15-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.16-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.17-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.18-0ubuntu0.14.04.1vulnerable
Ubuntupostgresql-9.3pro9.3.19-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.20-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.21-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.22-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.23-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.24-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.24-0ubuntu0.14.04+esm1vulnerable
Ubuntupostgresql-9.516.049.5.0-1vulnerable
Ubuntupostgresql-9.516.049.5.0-2vulnerable
Ubuntupostgresql-9.516.049.5.0-3vulnerable
Ubuntupostgresql-9.516.049.5.1-1vulnerable
Ubuntupostgresql-9.516.049.5.2-1vulnerable
Ubuntupostgresql-9.516.049.5.3-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.4-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.5-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.6-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.7-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.8-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.516.049.5.9-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.10-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.11-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.12-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.13-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.14-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.16-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.516.049.5.17-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.516.049.5.18-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.516.049.5.19-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.516.049.5.21-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.516.049.5.23-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.516.049.5.24-0ubuntu0.16.04.1fixed
Ubuntupostgresql-1018.0410.1-1vulnerable
Ubuntupostgresql-1018.0410.1-2vulnerable
Ubuntupostgresql-1018.0410.2-1vulnerable
Ubuntupostgresql-1018.0410.3-1vulnerable
Ubuntupostgresql-1018.0410.4-0ubuntu0.18.04vulnerable
Ubuntupostgresql-1018.0410.5-0ubuntu0.18.04vulnerable
Ubuntupostgresql-1018.0410.6-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-1018.0410.7-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-1018.0410.8-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-1018.0410.9-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-1018.0410.10-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-1018.0410.12-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-1018.0410.14-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-1018.0410.15-0ubuntu0.18.04.1fixed
Ubuntupostgresql-1220.0412.0-1vulnerable
Ubuntupostgresql-1220.0412.1-1vulnerable
Ubuntupostgresql-1220.0412.1-2build1vulnerable
Ubuntupostgresql-1220.0412.2-1vulnerable
Ubuntupostgresql-1220.0412.2-1ubuntu2vulnerable
Ubuntupostgresql-1220.0412.2-4vulnerable
Ubuntupostgresql-1220.0412.4-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.5-0ubuntu0.20.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Alpinepostgresqlapk3.1011.10-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresqlapk3.1112.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresqlapk3.1212.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresqlapk3.1312.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresqlapk3.1412.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresqlapk3.911.10-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresql14apk3.1512.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresql14apk3.1612.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresql14apk3.1712.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresql14apk3.1812.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresql15apk3.1712.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresql15apk3.1812.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresql15apk3.1912.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Alpinepostgresql15apk3.2012.5-r0Not reportedALPINE-CVE-2020-25696Not reported
Debianpostgresql-13deb1113.1-1Not reportedDEBIAN-CVE-2020-25696Not reported
Ubuntupostgresql-9.5deb16.049.5.24-0ubuntu0.16.04.1Not reportedUBUNTU-CVE-2020-25696Not reported
Ubuntupostgresql-10deb18.0410.15-0ubuntu0.18.04.1Not reportedUBUNTU-CVE-2020-25696Not reported
Ubuntupostgresql-12deb20.0412.5-0ubuntu0.20.04.1Not reportedUBUNTU-CVE-2020-25696Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References