CVE-2020-25696: Debian Linux

High severity, CVSS 7.5. EPSS: 2.7% chance of exploitation in the next 30 days.

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 products

  • Debian Debian Linux: version 9.0 only
  • PostgreSQL PostgreSQL: from 9.5.0, before 9.5.24 (fixed in 9.5.24); from 9.6.0, before 9.6.20 (fixed in 9.6.20); from 10.0, before 10.15 (fixed in 10.15); from 11.0, before 11.10 (fixed in 11.10); from 12.0, before 12.5 (fixed in 12.5); from 13.0, before 13.1 (fixed in 13.1)

Published 2020-11-23. Last modified 2026-06-17.