CVE-2025-8713
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.
Scoring
- Severity
- LOW
- CVSS base score
- 3.1
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS probability
- 0.22%
- CWE
- CWE-1230
- Published
- 2025-08-14
- Last modified
- 2026-03-12
Affected products
- n/a PostgreSQL
- n/a PostgreSQL
- n/a PostgreSQL
- n/a PostgreSQL
- n/a PostgreSQL
Weakness type
Related vulnerabilities
- CVE-2026-14351 — Exposure of Sensitive Information Through Metadata in GitLab
- CVE-2025-59601 — Exposure of Sensitive Information Through Metadata in Powerline Communication Firmware
- CVE-2026-45544 — Nextcloud: Information Disclosure of view filter metdata via Broken Sensitive Data Masking in ViewService
- CVE-2026-49270 — Apache ActiveMQ Broker, Apache ActiveMQ, Apache ActiveMQ All: Durable Subscription Disclosure via Crafted BrokerInfo (OpenWire)
- CVE-2025-31959 — HCL BigFix Service Management (SM) application fails to strip EXIF metadata from uploaded images.
- CVE-2026-29055 — Tandoor Recipes: WebP and GIF Image Uploads Bypass EXIF/Metadata Stripping, Leaking GPS Coordinates and PII
- CVE-2026-27661 — A vulnerability has been identified in SINEC Security Monitor (All versions < V4.9.0). The affected...
- CVE-2025-13084 — Opto 22 groov View Exposure of Sensitive Information Through Metadata