CVE-2020-25696

HIGH
7.5
CVSS Score
Published: November 23, 2020 at 09:15 PM UTC
Updated: June 17, 2026 at 03:07 AM UTC
2 products affected across 2 vendorsDebian LinuxPostgreSQL

Using PostgreSQL by N/A?

Get instant alerts when new vulnerabilities affect PostgreSQL - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 3%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 13.110.0 ≤ v < 10.1511.0 ≤ v < 11.1012.0 ≤ v < 12.513.0 ≤ v < 13.19.5.0 ≤ v < 9.5.249.6.0 ≤ v < 9.6.20
Affected range stops below 10.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 11.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 12.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 13.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 9.5.24, so it looks safe — our inference, not a vendor statement
Affected range stops below 9.6.20, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (4)

x_refsource_MISCIssue TrackingPatchThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1894430
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2020/12/msg00005.html
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/202012-07

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-183CWE-697

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card