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.
CVE-2025-8713
Score 3.1 from GitHub Security Advisory (severity: LOW) published 2025-08-14. NVD baseline CVSS 3.1; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 3.1
- EG Score
- 3.1(medium)
- EPSS
- 10.6%
- KEV
- Not listed
Published
August 14, 2025
Last Modified
June 17, 2026
References (1)
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007https://www.postgresql.org/support/security/CVE-2025-8713/
Vendor Advisories for CVE-2025-8713(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(14)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | postgresql-server-dev-16 (16.10-0ubuntu0.24.04.1) @ noble | 2026-05-21 | ubuntu |
| redhat | postgresql:13-8060020250825094024.ad008a3a | 2025-09-04 | redhat |
| redhat | postgresql-0:13.22-1.el9_4 | 2025-09-03 | redhat |
| redhat | postgresql:15-8080020250815150643.63b34585 | 2025-09-02 | redhat |
| redhat | postgresql:13-8080020250819150623.63b34585 | 2025-09-02 | redhat |
| redhat | postgresql:15-9020020250815141744.rhel9 | 2025-09-02 | redhat |
| redhat | postgresql:15-9040020250818140154.rhel9 | 2025-09-02 | redhat |
| redhat | postgresql:16-9040020250818135852.rhel9 | 2025-09-02 | redhat |
| redhat | postgresql:13-8040020250818170654.522a0ee4 | 2025-09-02 | redhat |
| redhat | postgresql-0:13.22-1.el9_0 | 2025-08-28 | redhat |
| redhat | postgresql-0:13.22-1.el9_2 | 2025-08-28 | redhat |
| redhat | postgresql:16-9060020250817200213.rhel9 | 2025-08-28 | redhat |
| redhat | postgresql-0:13.22-1.el9_6 | 2025-08-28 | redhat |
| redhat | postgresql:15-9060020250817180313.rhel9 | 2025-08-28 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(13)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2025-87132025-09-04
PostgreSQL optimizer statistics can expose sampled data within a view, partition, or child table
- Red HatRHSA-2025:14869LOW2025-08-14
RHSA-2025:14869 — Low
- Red HatRHSA-2025:14870LOW2025-08-14
RHSA-2025:14870 — Low
- Red HatRHSA-2025:14878LOW2025-08-14
RHSA-2025:14878 — Low
- Red HatRHSA-2025:15013LOW2025-08-14
RHSA-2025:15013 — Low
- Red HatRHSA-2025:15014LOW2025-08-14
RHSA-2025:15014 — Low
- Red HatRHSA-2025:15015LOW2025-08-14
RHSA-2025:15015 — Low
- Red HatRHSA-2025:15031LOW2025-08-14
RHSA-2025:15031 — Low
- Red HatRHSA-2025:15057LOW2025-08-14
RHSA-2025:15057 — Low
- Red HatRHSA-2025:15062LOW2025-08-14
RHSA-2025:15062 — Low
- Red HatRHSA-2025:15114LOW2025-08-14
RHSA-2025:15114 — Low
- Red HatRHSA-2025:15359LOW2025-08-14
RHSA-2025:15359 — Low
- UbuntuUSN-7741-1MEDIUM
PostgreSQL vulnerabilities
Data Freshness Timeline
(refreshed 9× in last 7d / 47× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 18:42 UTCOSV refresh
- 2026-06-21 14:56 UTCEPSS rescore
Show 67 moreShow fewer
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-02 20:13 UTCEPSS rescore
- 2026-06-02 20:02 UTCOSV refresh
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-29 13:44 UTCEPSS rescore
- 2026-05-29 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 13:44 UTCEPSS rescore
- 2026-05-26 13:44 UTCEPSS rescore
- 2026-05-26 13:44 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-24 16:58 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-21 22:43 UTCEPSS rescore
- 2026-05-21 09:50 UTCEG score recompute
- 2026-05-21 09:50 UTCVendor advisory
- 2026-05-21 09:50 UTCGHSA enrichment
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:31 UTCEPSS rescore
Frequently asked(5)
What is CVE-2025-8713?
When was CVE-2025-8713 disclosed?
Is CVE-2025-8713 actively exploited?
What is the CVSS score of CVE-2025-8713?
How do I remediate CVE-2025-8713?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2025-8713
Is Your Infrastructure Affected by CVE-2025-8713?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.