CVEFinder.io

CVE-2025-8713

â„šī¸ low
Summary

PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately, statistics allow a user to read sampled data that a row security policy intended to hide. PostgreSQL maintains statistics for tables by sampling data available in columns; this data is consulted during the query planning process. Prior to this release, a user could craft a leaky operator that bypassed view access control lists (ACLs) and bypassed row security policies in pa

Description

PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately, statistics allow a user to read sampled data that a row security policy intended to hide. PostgreSQL maintains statistics for tables by sampling data available in columns; this data is consulted during the query planning process. Prior to this release, a user could craft a leaky operator that bypassed view access control lists (ACLs) and bypassed row security policies in partitioning or table inheritance hierarchies. Reachable statistics data notably included histograms and most-common-values lists. CVE-2017-7484 and CVE-2019-10130 intended to close this class of vulnerability, but this gap remained. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.

CVSS Score
3.1
Low
EPSS Score
0.0
Exploit Probability
Published Date
2025-08-14
First Seen: 2026-01-05
📊 Relative Risk Intelligence

This CVE is Lower Risk - more severe than 2.1% of all 378,548 vulnerabilities in our database.

#370,763
Below average severity
Severity Percentile
đŸŽ¯ CISA SSVC Assessment Updated: Aug 14, 2025
🔍 Exploitation Status
None
No known exploits
âš™ī¸ Automatable
NO
Requires human interaction
đŸ’Ĩ Technical Impact
Partial
Limited system impact
🏆 Discovered By
The PostgreSQL project thanks Dean Rasheed for reporting this problem.
SSVC data provided by CISA
Last Modified 2025-08-15
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE IDs (Weakness Types)

đŸ“Ļ Affected Products 5

🔗 References 1

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2025-12817 â„šī¸ low 3.1 0.2 Missing authorization in PostgreSQL CREATE STATISTICS command allows a table owner to achieve denial of service against ... 2025-11-13
CVE-2025-12818 đŸ”ļ medium 5.9 0.4 Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network... 2025-11-13
CVE-2025-8714 âš ī¸ high 8.8 0.0 Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary ... 2025-08-14
CVE-2025-8715 âš ī¸ high 8.8 0.0 Improper neutralization of newlines in pg_dump in PostgreSQL allows a user of the origin server to inject arbitrary code... 2025-08-14
CVE-2025-4207 đŸ”ļ medium 5.9 0.1 Buffer over-read in PostgreSQL GB18030 encoding validation allows a database input provider to achieve temporary denial ... 2025-05-08
CVE-2025-1094 âš ī¸ high 8.1 90.0 Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescap... 2025-02-13
These CVEs affect the same products