Data Exposure Vulnerability in PostgreSQL by PostgreSQL Global Development Group
CVE-2025-8713

3.1LOW

What is CVE-2025-8713?

The vulnerability exists within PostgreSQL's optimizer statistics, which can potentially expose sampled data from views that a user is otherwise unauthorized to access. This flaw allows users to exploit row security policies designed to protect sensitive data, enabling access to histograms and most-common-values lists during query planning. Previous security measures have not closed this loophole, making certain PostgreSQL versions susceptible to unauthorized data exposure.

Affected Version(s)

PostgreSQL 17 < 17.6

PostgreSQL 16 < 16.10

PostgreSQL 15 < 15.14

References

CVSS V3.1

Score:
3.1
Severity:
LOW
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

The PostgreSQL project thanks Dean Rasheed for reporting this problem.
.
CVE-2025-8713 : Data Exposure Vulnerability in PostgreSQL by PostgreSQL Global Development Group