3.1

CVE-2025-8713: postgresql-17

CVSS: 3.1v3.1LowDeferred
AliasesALPINE-CVE-2025-8713UBUNTU-CVE-2025-8713DEBIAN-CVE-2025-8713
Published 14-08-2025Last modified 14-08-2025

Vulnerability summary

CVE-2025-8713 is a low (CVSS 3.1) vulnerability in postgresql-17. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 13.6% of scored vulnerabilities.

Overall risk
12/100
0100
Low · default modelHow is this calculated?
CVSS score
3.1/10
010
Low · v3.1 (CVE.org)
EPSS score
0.24%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 39 · Related 24

Timeline

  1. 14-08-2025
    PublishedVulnerability first disclosed.
  2. 14-08-2025
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

+0.01 pp

From 0.22% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.24%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu7 products
  • postgresql-10All versions (No fix recorded)
  • postgresql-12All versions (No fix recorded)
  • postgresql-14< 14.19-0ubuntu0.22.04.1
  • postgresql-16< 16.10-0ubuntu0.24.04.1
  • postgresql-17< 17.6-1
Alpine3 products
  • postgresql15< 15.14-r0
  • postgresql16< 16.10-r0
  • postgresql17< 17.6-r0
Debian2 products
  • postgresql-15< 15.14-0+deb12u1
  • postgresql-17< 17.6-0+deb13u1

3 vendors · 12 products

References

8 links