CVE-2020-25695: Debian Linux

High severity, CVSS 8.8. EPSS: 46% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • PostgreSQL, before 9.5.24: fixed in 9.5.24
  • PostgreSQL, from 9.6.0, before 9.6.20: fixed in 9.6.20
  • PostgreSQL, from 10.0, before 10.15: fixed in 10.15
  • PostgreSQL, from 11.0, before 11.10: fixed in 11.10
  • PostgreSQL, from 12.0, before 12.5: fixed in 12.5
  • PostgreSQL, from 13.0, before 13.1: fixed in 13.1

Affected products

  • Debian Debian Linux: version 9.0 only
  • PostgreSQL PostgreSQL: 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-16. Last modified 2026-06-17.