CVE-2025-8713: low-severity vulnerability in PostgreSQL
PostgreSQL optimizer statistics can expose sampled data within a view, partition, or child table
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
PostgreSQL's query optimizer stores statistical summaries of table data (like common values and patterns) that can be accessed through specially crafted functions, potentially revealing information from tables or rows a user shouldn't see, even if they lack direct permission.
A local attacker can craft custom operators to extract sensitive data from PostgreSQL optimizer statistics (histograms, most-common-values) by bypassing view ACLs and row-level security policies in inheritance hierarchies. This requires database access and ability to define functions, exposing sampled column data through the query planner's statistical references.